Syntax - Factor Documentation (original) (raw)

Syntax
Factor handbook » The language

Prev: Conventions
Next: Stack machine model

Factor has two main forms of syntax: definition syntax and literal syntax. Code is data, so the syntax for code is a special case of object literal syntax. This section documents literal syntax. Definition syntax is covered in Words. Extending the parser is the main topic of The parser.
Parser algorithm
Parse-time word lookup
Top level forms
Literals
Parse time evaluation