Giter Site home page Giter Site logo

brunocampos01 / compiladores Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 2.14 MB

Aulas, exercícios e resumos da matéria introdução à compiladores (INE5622).

License: MIT License

Java 97.56% Logos 2.44%
ufsc compiler javacc lexical-analyzer sintaxis-analyzer semantic-analyzer ine5622 compiladores ine introducao-a-compiladores

compiladores's Introduction

Compiladores

License java

Trabalho

Desenvolvimento de um compilador

Requisitos

Requisite Version
Java 1.8.0_282
Javac 1.8.0_282
Java Compiler Compiler (JavaCC) 7.0.10

Utilização

Gerar Parser

javacc parser/langX++.jj

Compilar

javac parser/langX.java

Testes - Analisador Léxico

 java parser.langX -short testes_e_logs/teste-lexico.x
 java parser.langX -short testes_e_logs/teste-com-erro-lexico.x

Debug - Analisador Sintático

java parser.langX -debug_AS testes_e_logs/debugAS.x

Árvore Sintática

java parser.langX -print_tree testes_e_logs/teste_expressoes_logicas.x
java parser.langX -print_tree testes_e_logs/teste_com_erro_classbody.x

Notas

  • O arquivo langX+++.jj foi identado com 4 espaços,
  • Encoding dos arquivos: US-ASCII


Creative Commons License

compiladores's People

Contributors

brunocampos01 avatar fabianooliveira95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.