From d15ff6cf9e47d39ec9949ebafa1dcd2be6ac8be7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20V=C3=A1zquez?= Date: Fri, 3 May 2013 01:54:01 +0100 Subject: [PATCH] WIP: Strings as array of characters implementation --- jscl.html | 8 +++--- src/boot.lisp | 30 +++++++++------------- src/compiler.lisp | 74 +++++++++++++++++++++++++---------------------------- src/prelude.js | 9 +++++++ tests/eval.lisp | 2 ++ 5 files changed, 62 insertions(+), 61 deletions(-) diff --git a/jscl.html b/jscl.html index 3cd1330..1dfe7fc 100644 --- a/jscl.html +++ b/jscl.html @@ -77,12 +77,12 @@ var startPrompt = function () { // Start the prompt with history enabled. - jqconsole.Write(lisp.evalString(pv, 1, '(CL:PACKAGE-NAME CL:*PACKAGE*)') + '> ', 'jqconsole-prompt'); + jqconsole.Write(lisp.evalString(pv, 1, make_lisp_string('(CL:PACKAGE-NAME CL:*PACKAGE*)')) + '> ', 'jqconsole-prompt'); jqconsole.Prompt(true, function (input) { // Output input with the class jqconsole-return. if (input[0] != ','){ try { - var vs = lisp.evalInput(mv, 1, input); + var vs = lisp.evalInput(mv, 1, make_lisp_string(input)); for (var i=0; i