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.
Image Parser algorithm
Image Parse-time word lookup
Image Top level forms
Image Literals
Image Parse time evaluation