2 KiB
2 KiB
Contribution
EnlighterJS is OpenSource and managed on GitHub - if you like, you're welcome to contribute! To simplify the release and quality control process, please follow these remarks:
Notices
- Your commits/pull-request should only contain changes of the
Source/,Resources/TestcaseDatadirectories or the Examples located into the root directory - otherwise i have to merge the request manually - Do not change the files located into the
Examples/orBuild/directory - they are automatically generated during the build-process using data fromResources/TestcaseData - Related software packages like MooTools, Bootstrap, ANT-contrib are updated by the maintainer
- If you form a concept of larger project changes, please discuss them with the contributors before implementing
Documentation
- To change contents of the
README.mdfile please edit the split files inDocs/- the readme file is automatically generated by merging these files during the build process
Adding a new Language
- First of all: take a look on other languages which are already available to learn about functions and coding styles
- To start with a new language please use the
LanguageDevelopment.phtmlworkspace. It will automatically loadSource/Language/Template.mylang.js(the startup file for your language development). - Rename your language file
Template.mylang.jsto the camel-cased real language name - e.g.Vhdl.js - Add detailed comments to each language rule!
- Keep the code as small as possible: e.g. use regex instead of long keyword lists
- In case your language is a superset of another one, please extend the origin language - do not copy the origin file
- Add an language testcase/demo to the
Resouces/TestcaseDatadirectory - Finally create a Pull Request on GitHub - your changes will be reviewed and commonly added to the project