0.1.6 • Published 8 years ago

ra-parser v0.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Relational Algebra Parser

This package parses a relational algebra syntax into a simple AST. To interpret this Ast,

###To build the parser, from the commandline:

npm install
npm run build

###To use it in your code:

const parser = require('ra-parser');


try {
   const programAST = parser.parse('ValidId01 := [[attr1, attr2] -> [[1,2],[2,3]]];');
   /*
	  Do cool things with the AST
   */
} catch(e){
   // Won't reach here since there won't be a parsing error
   console.log(e.toString());
}

author: Adel Lahlou

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago