https://github.com/ssloy/tinyoptimizer
Can I make an *optimizing* compiler under 1k lines of code?
https://github.com/ssloy/tinyoptimizer
Last synced: 12 months ago
JSON representation
Can I make an *optimizing* compiler under 1k lines of code?
- Host: GitHub
- URL: https://github.com/ssloy/tinyoptimizer
- Owner: ssloy
- License: wtfpl
- Created: 2025-02-08T08:09:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T08:01:49.000Z (over 1 year ago)
- Last Synced: 2025-06-05T10:48:57.666Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 1.87 MB
- Stars: 59
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Can I make an *optimizing* compiler under 1k lines of code?
## N.B.: Under construction! This is a fork of my tinycompiler, and I have no idea where it is going.
Current description is available here:
[](https://ssloy.github.io/tinyoptimizer/)
Here I am playing with code optimizations, if you are interested in lexer/parser/symbol tables and assembly generation, check the [tinycompiler](https://github.com/ssloy/tinycompiler).