Comments (1)
That's a good question. The compiler definitely assumes that these cases are rare! One of the reasons that I chose to rewrite the back-end to use QBE in Part 63 was to have someone else solve the spilling problem for me.
The big omissions in this compiler are: poor register management and next to no optimisation. I got the code to the self-compiling stage and then stopped as I was happy to end things there.
from acwj.
Related Issues (20)
- Compiler hangs forever when compiling simple structure
- Failure to error on redefinition of variable as function
- Compilation error: data.h HOT 1
- does not generate correct code for Windows HOT 1
- 19_Arrays_pt1,cgarm is not correct
- Part 48 Static
- Misspells in Part 53
- 26 Function prototypes
- In section 19(Array), we should check the use of array name.
- Some Makefile issue in 03_Precedence HOT 1
- Tuterial 17: HOT 1
- movzbl instruction can not compile in section 15_Pointers_pt1 and onward HOT 2
- Test output of 03_Precedence is not the same as what is in Readme
- A wrong nasm assembly instruction in cgn.c of 08_If_Statements HOT 1
- cg_arm.c in 19_Arrays_pt1 is out of sync
- The whole language bnf grammar HOT 2
- FYI: ApolloVM - A Multilingual portable VM with on-the-fly Wasm compilation. HOT 1
- Excellent work
- [BUG]: Test failed from 13 to 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acwj.