d-b / csc488 Goto Github PK
View Code? Open in Web Editor NEWCompilers & Interpreters
Compilers & Interpreters
From TA:
"Your official course group number for CSC488 is 9. Please put this
group number, as well as the CDF user names of your group's members,
on all documents that your group submits for each assignment.
The members of your group are:
g2watson - Watson Oren Isaac
g2scotts - Simon Scott
g2mccorm - Peter McCormick
g0dbloem - Daniel Bloemendal"
E.g. add put statements
Suggested by TA
Test runner that can handle test cases with expected output meta data.
DESIGN.pdf will be a document describing the design of csc488.cup and the challenges transforming the reference grammar into the Java CUP grammar.
Submission specifications can be found here: https://github.com/d-b/CSC488/blob/master/DOCS/CSC488H1S_A2.submit.txt
When attempting to compile on cdf, a slew of errors occured caused by constructs of the type:
"catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e)"
Is this legal Java?
The error occured in Semantic.java, perhaps cdf does not have the latest version of javac?
version of javac on cdf is 1.6.0.
The test in tests/pass/arith_not_operand.488
was added in accordance with the language spec, yet our parser fails on it. The expression in question takes the form 1 * not true
, and the question is, should that parse (despite being poorly typed)?
submission instructions want an index of all our test cases.
This should probably be split up by CodeGen template later on.
This time, it is complaining about
[javac] /h/u3/g2/00/g2watson/csc488/CSC488/trunk/A3/src/compiler488/ast/ASTList.java:133: inconvertible types
[javac] found : java.util.LinkedList
[javac] required: java.util.List<compiler488.ast.AST>
[javac] return (List) getList();
I assume this entails a plaintext description of the AST classes.
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.