Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

SBCL

Name: Anonymous 2014-04-01 13:47

Why GCC never spits crap like the following?

  failed AVER: (NULL CURRENT)
This is probably a bug in SBCL itself. (Alternatively, SBCL
might have been corrupted by bad user code, e.g. by an undefined
Lisp operation like (FMAKUNBOUND 'COMPILE), or by stray pointers
from alien code or from unsafe Lisp code; or there might be a
bug in the OS or hardware that SBCL is running on.) If it seems
to be a bug in SBCL itself, the maintainers would like to know
about it. Bug reports are welcome on the SBCL mailing lists,
which you can find at <http://sbcl.sourceforge.net/>;.
   [Condition of type SB-INT:BUG]

Name: Anonymous 2014-04-01 13:49

>>1
I figured out the root cause of the problem: referring to a global
(special) variable in one file before the file it's defined in was
loaded; ASDF loaded the one file before the other, whereas loading by
hand was generally in the proper order. Once I changed the file
dependencies in my DEFSYSTEM it appears that the files compile without
the error.

Name: Anonymous 2014-04-01 14:16

While we're at the subject of lishp compilers: confess which one of you prog'tards did this?

 Scheme to LLVM Translator
By Tobias Nurmiranta

This is a small scheme compiler for LLVM, written in scheme. It is good enough to compile itself and work.

The code is quite similar to the code in the book SICP (Structure and Interpretation of Computer Programs), chapter five, with the difference that it implements the extra functionality that SICP assumes that the explicit control evaluator (virtual machine) already have. Much functionality of the compiler is implemented in a subset of scheme, llvm-defines, which are compiled to llvm functions.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List