Skip to content

About

A minicompiler to compile the switch statement in JavaScript

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

JSCompiler

A minicompiler to compile the switch statement in JavaScript

Installations

Use the Advanced Package Tool to install Flex and YACC

sudo apt-get update

sudo apt-get install flex

sudo apt-get install bison

Compile and Run Program

flex -l flexfile.l

bison -ldv bison.y

gcc bison.tab.c lex.yy.c -lfl

Execution

Copy paste the switch statement on the terminal for syntax and semantic analysis. Errors are displayed accordingly. If no errors present, consider code snippet to have perfect switch statement syntax

License

MIT

About

A minicompiler to compile the switch statement in JavaScript

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages