xinyisu79 / bluec Goto Github PK
View Code? Open in Web Editor NEWThis project forked from incfly/bluec
The implementation of a simple compiler for language, BlueC, I named it. : -)
License: Other
This project forked from incfly/bluec
The implementation of a simple compiler for language, BlueC, I named it. : -)
License: Other
Description -------------------------------------------------------------------------- This is my simple compiler. It performs lexical, grammar analysis, and then emit the assembly code, dump the code into plain text. At last, the assembly code is sended to assembly compiler "as" to generate object file. The linker 'ld' link obj file to executable file. Basically, I finish the front-end and code-generation work. The executable file generation is handled by system software. Because to output the instruction to binary form and arrange the output file according to ELF ABI rule is a trivial thing. I omitted that. :-( Language rule -------------------------------------------------------------------------- The language can use/define variable, use conditional statement, define and call function, even though it has a lot of contraints. To simplify the problem, I make a lots of contraints and assumptions. You may think it's unreasonable and weird. Well, it's just a piece of work for fun. :-) In fold example/, there are several simple samples to show the language's grammar and function. Other things -------------------------------------------------------------------------- I previously planed to build a complete, independent compiler. But as the process going on, I was busy with other affairs and found a lot of trivial thing to build the compiler by oneself. Finally it was born like this. I am keen on the compiler techniques, operating system knowledge and other low level computer science related things. Glad to communicate with peers in these fields. Email: [email protected]
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.