Giter Club home page Giter Club logo

compiler's Introduction

Compiler

Compiler guided in the Tiny Compiler by Louden from the Book: UNED Construccion de compiladores principios y practica - Kenneth C Louden -International _Thomson Editores - 2004.

If you want to run the Compiler, there are two ways. With GUI or without GUI.

With GUI:

Download the 'Compiler GUI' of my partner: https://github.com/Joshua195/IDE_Compilador

Then you have to change the 'PATH' var whose is related by the Folder with files in Python corresponding to the compiler.

It is in Controller.java:

43: public static final String PATH = "C:\Users\Richa\PycharmProjects\Compiler\";

And Run the Compiler since the 'IDE'.

Without GUI:

You have to comment and discomment some lines in some files corresponding to the use of the IDE:

[D]iscomment [C]omment

Lexico.py [D] 76 [C] 79, 80

Sintactico.py [D] 42 [C] 38, 39

Gramatical.py [D] 562, 563 [C] 567, 568

GenCodigo.py [D] 425, 426, 433, 434 [C] 429, 430, 437, 438

And Run the files one by one since your Python IDE or Console: [Lexico.py, Sintactico.py, Gramatical.py] or [Main.py], GenCodigo.py and TM.py.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.