[go: nahoru, domu]

Skip to content

Implementation of a parser and translator for a language supporting string operations

Notifications You must be signed in to change notification settings

AriannaK97/StringTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StringTranslator

This is a part of a Compiler's class Homework (Spring 2020).

Tools used

  • JFlex
  • JavaCUP

Comments:

I have used the ”){” terminals as one terminal named CR (conflict resolver), in order to solve the shift/reduce conflict between the non-terminals call args and decl args. The parser worked for all the examples given. In order to compile and run the program do the following (where input.txt contains the parser’s input): $make $make execute < input.txt

About

Implementation of a parser and translator for a language supporting string operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published