This is a Formal Language and Compilers course project. The entire grammar of JavaScript language has been written in Flex and Yacc (C language, more info here: ECMAScript® 2015 Language Specification). With the web GUI one can write in JavaScipt language and get notified whenever a wrong syntax is used. Moreover, reserved words, identifiers and special characters are highlighted at compile time.
git clone https://github.com/mryraghi/jigh-sight
cd jigh-sight
npm install
sudo ./public/compiler/setup.sh
Then either
meteor run
- connect to
localhost:3000
- write code in JavaScript and be amazed
Or
jigh-sight < javascript-file.js
to retrieve information about the file
Development
Romeo Bellon