/ull-etsii-grado-pl-infix2postfix

practica de PL: infix to postfix with functions and scope

Primary LanguageRuby

PL Grado ETSII ULL Lab: Infix to Postfix translator. 
Includes if the else statements, functions and
function calls.

Simple example in the client using jison.
Uses jquery. Be sure to modify "main.js" so
that "jquery.js" is found in your computer.

run "rake" to produce "calculator.js"

I use a script 'jsbeautify' inside the Rakefile.
These are the contents of ~/bin/jsbeautify:

      #!/bin/bash
      node ~/node_modules/beautifier/bin/beautifier.js $1

To have it like this, install package:
  sudo npm install beautifier

  more about beautifier:
  https://github.com/rickeyski/node-beautifier