Skip to content

cicada-lang/partech

Repository files navigation

Partech

Parsing Techniques -- A language for writing grammars and generating parsers.

Usages

Install the package:

npm install @cicada-lang/partech

TODO This package is used in many languages of cicada project, but the API of this package is not stable yet.

Examples

TODO

Thanks

Thank you, Noam Chomsky, for Generative grammar and Chomsky hierarchy.

Thank you, Dick Grune and Ceriel J.H. Jacobs, for writing a great textbook about parsing.

Thank you, Steven Pemberton, for your works about XML and designing the ABC programming language.

Development

npm install           # Install dependencies
npm run build         # Compile `src/` to `lib/`
npm run build:watch   # Watch the compilation
npm run format        # Format the code
npm run test          # Run test
npm run test:watch    # Watch the testing

Contributions

To make a contribution, fork this project and create a pull request.

Please read the STYLE-GUIDE.md before you change the code.

Remember to add yourself to AUTHORS. Your line belongs to you, you can write a little introduction to yourself but not too long.

License

GPLv3