Skip to content

rkirsling/dlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlox

A Dart port of jlox, the Lox language's AST interpreter (http://www.craftinginterpreters.com/).

See also cclox for my C++ port of the bytecode VM.

Supported language extensions:

  • Block comments (/* ... */)
  • Ternary operator (x ? y : z)
  • Comparison operators for strings ("a" < "at")
  • Coercing string concatenation operator (10 + "ms")
  • Error on global redefinition (var x = 1; var x = 2;)
  • Break statement (break;)
  • Error on method redefinition (class C { f() {} f() {} })
  • Error on class initializer access (instance.init)

Releases

No releases published

Packages

No packages published

Languages