Skip to content
rkirslingPublic

About

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

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

37 Commits

Folders and files

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)

About

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

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages