Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aleph-syntax-tree

Shared intermediate representation (IR) for the Aleph compiler pipeline. All parsers produce an AlephTree, all generators consume one.

Installation

[dependencies]
aleph-syntax-tree = "0.1"

Key nodes

  • Literals: Int, Float, Bool, String, Bytes, Complex, HexLiteral
  • Structures: Tuple, Array, Record
  • Control flow: If, While, Match, Stmts, Break, Continue
  • Bindings: Let, LetRec
  • Operations: Add, Sub, Mul, Div, Mod, And, Or, Not, Eq, LE
  • Functions: App, Return
  • COBOL constructs: ProcedureDivision, Perform, Accept, Display

Related

About

Parser light based on aleph tree.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages