https://github.com/no-defun-allowed/sicl-tools
Some tools which help when working on the SICL compiler.
https://github.com/no-defun-allowed/sicl-tools
Last synced: 2 months ago
JSON representation
Some tools which help when working on the SICL compiler.
- Host: GitHub
- URL: https://github.com/no-defun-allowed/sicl-tools
- Owner: no-defun-allowed
- License: bsd-2-clause
- Created: 2021-12-15T01:23:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T01:33:57.000Z (over 3 years ago)
- Last Synced: 2025-01-31T05:47:20.641Z (4 months ago)
- Language: Common Lisp
- Size: 183 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SICL hacking tools
Some "scripts" which I use to help me work on SICL.
## cleavir-dot
Draws IR using Graphviz, which is slow but often looks better than the
IR visualizer for small functions.A little demo:
```lisp
(let ((n 12345))
(loop
(cleavir-primop:let-uninitialized (p)
(if (cleavir-primop:fixnum-sub n 1 p)
(progn)
(progn))
(setq n p))
(when (cleavir-primop:eq n 1) (return))))
```
## sicl-fuzz-test
Generates random Lisp forms and waits for one to break the SICL
compiler.