Skip to content

ccgarciab/ANTLR_SL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An interpreter for the SL language, made with ANTLR

In this project we are building an interpreter for the SL programming lenguaje.

Repository

Contents

grammar

  • SL.g4: where you can find our declaration of SL grammar

src

  • Funcion: classes to represent user defined and built-in functions and subroutines
  • Tipo: Classes to represent diferent SL types
  • Valor: classes to represent runtime values
  • Visitors: Classes that act on parsee trees to compile functions to objects, or to execute functions

gen

  • the generated lexing/parsing code that allows further interpreting

lib

  • The antlr 4 runtime required to run the interpreter

Executing

  • Add the antlr runtime as an external library to your project
  • Execute main
  • Pass the source code to be executed via stdin

Authors:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •