Skip to content

A toolbelt for creating cool parsers and interpreters

License

Notifications You must be signed in to change notification settings

apendua/any-language

Repository files navigation

any-language

** Q&A

Why can't we identify symbol type in tokenizer?

We can't do that because symbols can depend on the current parser context, while tokens are clearly context-free.

Why we are not using variables in parser context?

Because the semantic analysis can be easily done as a separated process and removing it from the parser logic simplifies everything, starting from grammatic rules definition, lookahead, and finally AST caching.

About

A toolbelt for creating cool parsers and interpreters

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published