Skip to content

A live JavaScript ES6 Lex/Yacc compiler and highlighter

Notifications You must be signed in to change notification settings

mryraghi/jigh-sight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jight-Sight

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.

How to use

  • 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

Status

Development

Credits

Romeo Bellon