Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit [f3071c] Maximize Restore History

Implemented WITH-BACKEND and small interpreter fix.

- A new special form, EXT:WITH-BACKEND allows us to select the code depending
on whether it is going to be processed by the interpreter or by the C
compiler.
(defun example ()
(ext:with-backend (:bytecodes) (print 3))
(ext:with-backend (:c/c++) (print 2)))
The two currently available backends are :bytecodes and :c/c++. Note that
when the backend does not match the value, the form is replaced with (VALUES).

- Some forms, such as LIST, CONS, etc, when optimized by the interpreter,
compiled their arguments as toplevel forms, causing the right result,
but out of order evaluation.

Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll 2010-04-24

changed src/c/compiler.d
changed src/c/symbols_list.h
changed src/c/symbols_list2.h
changed src/cmp/cmpeval.lsp
changed src/new-cmp/cmpspecial.lsp
changed src/new-cmp/cmptables.lsp
changed src/CHANGELOG
src/c/compiler.d Diff Switch to side-by-side view
Loading...
src/c/symbols_list.h Diff Switch to side-by-side view
Loading...
src/c/symbols_list2.h Diff Switch to side-by-side view
Loading...
src/cmp/cmpeval.lsp Diff Switch to side-by-side view
Loading...
src/new-cmp/cmpspecial.lsp Diff Switch to side-by-side view
Loading...
src/new-cmp/cmptables.lsp Diff Switch to side-by-side view
Loading...
src/CHANGELOG Diff Switch to side-by-side view
Loading...