Skip to content

How to Add New Syntax To Factor

Björn Lindqvist edited this page Apr 26, 2014 · 2 revisions

Here is how you add a brand new parsing word to Factor:

  • Add your word to core/bootstrap/syntax.factor.
  • Add a quotation to core/syntax/syntax.factor.
  • Add the slot to core/vocabs/vocabs.parser.

Between each step you need to perform a complete bootstrapped build.