A Lisp tutorial game
Switch branches/tags
Nothing to show
Clone or download
zick Flip the GC mark color instead of unmarking the GC bit in the sweep p…

Benchmark program:
  (define (muda n . r) (if (<= n 0) r (muda (- n 1) (cons 0 0))))
  (time (muda 3000))
Before: 47143 ms
After:  46688 ms

Also suppress GC information when evaluating time.
Latest commit 4090a6e Mar 27, 2016


= Magical Language Lyrical Lisp

Let's play in Lisp!

== How to run Lyrical Lisp

Lyrical Lisp is consist of text data, graphic data, and sound data. This
repository has only source code of text data. In order to get all data,
download ``lyricallisp_free-X.X.zip'' from following URL:


If you unzip it, ``lyricallisp_free'' directory is created. You can run Lyrical
Lisp by double-clicking the ``nsclisper.exe'' in the directory.

== How to compile your source code

In order to run Lyrical Lisp with your source code, you must make ``nscript.dat''
and put it to ``lyricallisp_free'' directory.

You can compile your source files (``X.txt'') into ``nscript.dat'' using
``nscmake.exe'' which can be downloaded from following URL:


Or you can also make ``nscript.dat'' with following commands:

% vi a.c
#include <stdio.h>
int main(int argc, char** argv) {
  int i;
  for (i = 1; i < argc; ++i) {
    char b;
    FILE* fp = fopen(argv[i], "r");
    while (fread(&b, 1, 1, fp)) {
      if (b != '\r') {
        printf("%c", b ^ 0x84);
    printf("%c", '\n' ^ 0x84);
  return 0;
% gcc -o a a.c
% ./a *.txt > nscript.dat

== License

Unless otherwise noted, the Magical Language Lyrical Lisp source files are
distributed under the BSD-style license found in the LICENSE file.