GithubHelp home page GithubHelp logo

cicciotecchio / yaspl3 Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 686 KB

Yet Another Simple Programming Language

License: MIT License

Lex 1.76% Java 98.24%
javacup jflex compiler programming-language visitor parser yaspl

yaspl3's Introduction

Yet Another Simple Programming Language

This is an implementation of a programming language, to generate the lexical analyzer has been used JFlex, to generate the parser has been used JavaCup, the semantic analysis has been managed using the Visitor pattern after this last analysis is generated the C code(always using the visitor pattern).

How to install

  1. You can download the YASPL compiler here.
  2. For more information about the lexical, grammatical and semantic rules specification read the wiki.
  3. You can clone this project you can import it in IntelliJ an run the Maven task jflex to generate the lexical analyzer and run the Maven task jcup to generate the parser.

yaspl3's People

Contributors

cicciotecchio avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

fdavino

yaspl3's Issues

Possibili aggiunte in YASPL

  • commenti
  • for
  • do while
  • switch case
  • modulo
  • potenza
  • radice quadrata
  • ID++ e ID--
  • random di interi
  • dichiarare funzioni dentro funzioni
  • dichiarazione di variabili all'interno di blocchi if, while ecc...
  • array
  • riconoscere variabili dichiarate ma non usate

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.