parkerk / tigpiler Goto Github PK
View Code? Open in Web Editor NEWA simple Tiger to MIPS compiler, written in Standard-ML
A simple Tiger to MIPS compiler, written in Standard-ML
does not handle "
Need to handle illegal integers, e.g. var a:=5a
It is throwing errors on situations that arrise due to uncorrected
errors from previous projects. For example, the case on the
typechecker project, where your typechecker is throwing incorrects
"type not defined errors" in cases like "if(10>5)"
The ending position of the string is used as the starting position.
The following is a simple tiger program
"string"
The output should be
STRING(string) 2
EOF 10
instead of
STRING(string) 9
EOF 10
The parenthesis does not close.
"I have also found a bug in the for loop in your translate module
(part of IR/Frame project) that I didn't report to you earlier. The
for loop is jumping to an incorrect label such that the conditions are
not being tested."
How are you handling cases where types have the same name as
variables? Should it return an error?
Need to handle recursive declarations: At the moment not throwing
errors. (See page 120)
Afterwards, check also recursive and mutually recursive functions. It
seems there is also a labeling error. At the moment they are throwing
uncaught exception errors
test case 27
If, while, ... expressions are returning errors when not supposed to,
e.g. "if(5>3)..." returns integer required error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.