-
Notifications
You must be signed in to change notification settings - Fork 1
Adding a Feature
Jonathan Beaulieu edited this page Oct 22, 2017
·
2 revisions
First, add a new feature to the Features class found here.
- Add any new token types to the
TokenTypesclass.- Add token type const
- Add token type to from_str method
- Add any new keywords to the
get_keywordsmethod depending on the features. - Add tests for the feature in
tokenizer/test_features.py
- Add any AST classes for feature.
- Write test for str function on classes.
- Edit parser to handle new feature.
- Write tests.