All my school work
stumped2 / school Goto Github PK
View Code? Open in Web Editor NEWAll my school work
License: Apache License 2.0
All my school work
License: Apache License 2.0
need to parse something like [[:= thing 5]] and [[:= thing [+ 2 5]]]
Create a syntax tree to keep track of all the tokens in the language and allow for semantic checking.
In checking semantics, handle the power (^) operator
i.e [[ ^ int/float int/float]] and have it work for nested/recursed exprs
parse a simple, non-nested binop
Example: [+2 3]
It needs to be able to parse consecutive [].
Be able to parse "-" as a unop or binop depending on context.
need to be able to parse something like
[[:= thing [:= thing 3]]]...
Is this valid for the grammar?
parse simple and nested unops
Be able to handle the MOD (%) operator.
handle something like this:
[[and [and false true] false]]
Example: [[][[[]][]]]
Need to be able to parse an infinitely nested set of [], (until you reach the parsing languages recursion limit)
In the semantic, be able to handle recursed booleans:
[[ and false [and true false]]]
Instead of only handling 'and' and 'or' for boolean checking, allow 'and' and 'or' to work on =, <, >, <=, >=, != exprs
parse nested unops and binops
parse binops in a form like this:
[[+ 2 3][+2 3][+2 3][[[+2 3]]]]
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.