An open API service indexing awesome lists of open source software.

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.

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))))
```

![The resulting IR graph, with global value numbering](loop.png)

## sicl-fuzz-test

Generates random Lisp forms and waits for one to break the SICL
compiler.