opomuc / ilab-compiler Goto Github PK
View Code? Open in Web Editor NEWProject of MIPT 1st year students
Project of MIPT 1st year students
I suggest using inheritance. A simple class structure will improve understanding of the code. With the help of virtual functions we can eliminate huge switch
and if
parts of the differentiation function and printing of the tree.
Also I am thinking: doing so without damage to the original version and deprecation of old code in the end. This can be a bad idea, but an easy way.
Each build downloads all tex packages. So in order to run pdf compilation tests we need to decrease build time first.
Subj.
Think of syntax rules for the language we will compile. Similar to the ones Dedinskiy showed at the previous lecture.
Subj.
Full support means tree generation and differentiation.
Exponentiation right now implemented as f(x)^g(x)
. This way does not truly serve our purpose, because by definition both f(x)
& g(x)
must be functions and have at least one derivative, and f(x)
must be greater then zero. This method is OK for such a case.
We need a simple check for VARIABLES and NUMBERS, because in that case generated tree is way over necessary + has division by zero.
Our compiler has to generate program tree from the code. First, we need to have syntax rules. Then start writing appropriate functions.
Again I believe that with the inheritance and virtual functions this task will be easier.
To run our program we need a processor.
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.