Skip to content

Example of BNF specification based parser nearley JS. Minimalistic language to create simple math operations and functions.

Notifications You must be signed in to change notification settings

yerlanyr/flaparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Example of BNF specification based parser nearley JS. Minimalistic language to create simple math operations and functions. Before start it need to be build so write npm run build and then.

To start app write npm start in cli.

To run tests write npm test in cli.

Example code

>a=3
>b=4
>a+b

Output will be like

7

also there is feature to create a functions

fun a(b,c)=>b+c
a(3,4)

output will be 7

About

Example of BNF specification based parser nearley JS. Minimalistic language to create simple math operations and functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published