Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zenhack/syslisp
racket library for generating c code (Abandoned)
https://github.com/zenhack/syslisp
Last synced: 16 days ago
JSON representation
racket library for generating c code (Abandoned)
- Host: GitHub
- URL: https://github.com/zenhack/syslisp
- Owner: zenhack
- License: mit
- Created: 2014-01-19T04:08:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-01T23:19:37.000Z (over 10 years ago)
- Last Synced: 2024-10-22T07:00:10.796Z (2 months ago)
- Language: Racket
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
NOTICE: I'm not working on this anymore; I still think the idea is
worthwhile, but this repository is abandoned.A racket library for generating c code.
The idea is, you can write:
(gen-fundef
'(func main ((argc int) (argv (ptr (ptr char)))) int
(call printf "Hello, World!\n")
(return 0)))And this will spit out the equivalent C program. This is meant as a
stepping stone along the way to having a lisp-style macro system for use
with low-level code.This is still *very* early days; It's a long way toward actually being
useful (the above code snippet doesn't even work yet!)