Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please add questions here and people who contribute to Falcon will be happy to try to answer them.

Q: What is a lexer?

A: A lexer turns source code into tokens.

Q: What is a parser?

A: A parser turns tokens into an abstract syntax tree.

Q: What is a code generator?

A: A code generator turns an abstract syntax tree into bytecode.

Q: What is a semantic checker?

A: A semantic checker finds problems in the source code.

Q: What is an example of how Falcon generates better bytecode than the legacy compiler?

Falcon does both constant propogation and inlining.