/wic_lang

Where is Cocucha Language

Primary LanguageYaccMIT LicenseMIT

Where is Cocucha?

Where is Cocucha? Language

Dependencias:

  • make
  • gcc
  • lex
  • yacc

En GNU/Linux Debian y derivados se pueden instalar:

sudo apt-get install make flex bison build-essential

Para compilar el compilador se debe correr:

make

Para compilar un programa usando nuestro compilador:

./wic ejemplo.wic

o bien:

cat ejemplo.wic | ./wic

o bien:

./wic < ejemplo.wic

o bien, puede ser usado como un editor:

./wic

Cuando termine de escribir su programa presione Ctrl + D.