Sha256: 4f104ac0bf498503cec0166f36939929b0ba6ea71277e42a6de9df759f4f9a3c

Contents?: true

Size: 709 Bytes

Versions: 22

Compression:

Stored size: 709 Bytes

Contents

This directory contains all the code that deals with parsing Fancy
source files (.fy) and creating an object-oriented representation (a
so-called AST - Abstract Syntax Tree) from it to be used in the
compiler for further processing (mostly to .fyc bytecode files).

The parser.y file contains the grammar rules in GNU Bison (YACC
compatible) syntax, which make up the parser. The parser actions are
written in C and call out to Ruby methods defined in parser.rb via
rbx's C-extension interface to build the actual AST objects.

The lexer.y contains the lexer rules in GNU Flex syntax for scanning a
source file for tokens.

The parser.rb file contains all the methods used by the parser to
create AST objects.

Version data entries

22 entries across 11 versions & 1 rubygems

Version Path
fancy-0.10.0 lib/parser/ext/README
fancy-0.10.0 boot/rbx-compiler/parser/README
fancy-0.9.0 boot/rbx-compiler/parser/README
fancy-0.9.0 lib/parser/ext/README
fancy-0.8.0 lib/parser/ext/README
fancy-0.8.0 boot/rbx-compiler/parser/README
fancy-0.7.0 boot/rbx-compiler/parser/README
fancy-0.7.0 lib/parser/ext/README
fancy-0.6.0 lib/parser/ext/README
fancy-0.6.0 boot/rbx-compiler/parser/README
fancy-0.5.0 lib/parser/ext/README
fancy-0.5.0 boot/rbx-compiler/parser/README
fancy-0.4.0 lib/parser/ext/README
fancy-0.4.0 boot/rbx-compiler/parser/README
fancy-0.3.3 lib/parser/ext/README
fancy-0.3.3 boot/rbx-compiler/parser/README
fancy-0.3.2 lib/parser/ext/README
fancy-0.3.2 boot/rbx-compiler/parser/README
fancy-0.3.1 lib/parser/ext/README
fancy-0.3.1 boot/rbx-compiler/parser/README