Skip to content

rustoscript/js.rs-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js.rs — Parser Build Status

This is the parser for js.rs, a sever-side interpreter for JavaScript currently being developed in Rust. It makes use of lalrpop, a parser generator.

Currently, it supports arithmetic expressions and boolean expressions, variable declaration and assignment, and if and while statements.

AST

The type definitions for the AST can be found in js.rs-common in the ast module.

Parsing

The two generated parser functions are parse_Stmt and parse_Exp, each of which a return a Result wrapping its respective AST value.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages