Adding a New Keyword to the Dart Language
I'm attempting to add the keyword: foobar which will translate to a literal int 5. Steps: Modified lib/src/scanner/token.dart to add "foobar" keyword Looking at where the Keyword TRUE is used parser_impl.dart keyword_contributor.dart ast_test_factory.dart tokens_context.dart tokens_writer.dart unlinked_token_type.dart lax_json.dart <various tests> Likely need to update: https://github.com/dart-lang/sdk/blob/master/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart#L5362 in order to produce correct AST. Compiling dart program with "foobar" expecting error... SDK diff: # compiling sdk ninja -C out/ios_debug_sim_unopt ninja: Entering directory `out/ios_debug_sim_unopt' [1/1] Regenerating ninja files [50/50] STAMP obj/default.stamp # running on simulator flutter run --local-engine-src-path='../flojure-engine/src' --local-engine=ios_debug_sim_unopt It did not throw an error compiling i