Re: Printing a custom representation of hash table at the repl

2016-07-08 Thread Pascal J. Bourguignon
Diogo Franco writes: > Hello, > > ecl does not specialize the print-object method on hash-tables: > > > (find-method #'print-object '() '(hash-table t)) > Debugger received error of type: SIMPLE-ERROR > There is no method on the generic function PRINT-OBJECT that > agrees on quali

Re: Compiled program complaints on absent UIOP/OS and UIOP/PATHNAME

2016-04-03 Thread Pascal J. Bourguignon
Alexander Artemenko writes: > Hi, Pascal! > > Thank you for the asnwer. > > The error you wrote about is because you didn't run ./bootstrap.ecl > before ./build.ecl > > Anyway, I've added -norc to the build scripts. Please, make a pull and > try again these commands: > > ./bootstrap.ecl > ./build

Re: Compiled program complaints on absent UIOP/OS and UIOP/PATHNAME

2016-04-02 Thread Pascal J. Bourguignon
Alexander Artemenko writes: > Hi! > > I have created a command line program: > https://github.com/svetlyak40wt/cl-jslog > > I've tried to build it with sbcl and it worked fine. > But when I compiled it with ECL, I found > that right after running, it outputs following error: > > Condition of type

Re: AW: ECL on very small chips?

2016-03-28 Thread Pascal J. Bourguignon
"Konovalov, Vadim" writes: > However - ECL has closer connection to C, which will make your life easier. I don't agree. ECL architecture with respect to C is very complex. Also ECL includes: - an interpreter (IIRC), - a byte-code compiler with a byte-code virtual machine, and - an optional

Re: AW: ECL on very small chips?

2016-03-27 Thread Pascal J. Bourguignon
"Andreas Thiele" writes: > Thank you for the inspiring and enlightening answer. > > Yes my question was a bit unspecific. The trigger for my question was > an unbelievable turnaround time of about 2 minutes (edit, compile, > reload, test again) I came across when an embedded box currently under >

Re: ECL on very small chips?

2016-03-26 Thread Pascal J. Bourguignon
"Andreas Thiele" writes: > can I use ECL to write software for a chip without OS? Yes. > In my case I’d like to write software for NXP1769 which is ARM Cortex > M3, 64kB Ram, 512kB Flash. Anything with more than one bit of memory. You didn't ask if you could develop software using ECL runn

compiling ecl android on MacOSX

2016-02-27 Thread Pascal J. Bourguignon
Hello, We cannot compile ecl for android on MacOSX, because *nm* is used by gmp configure instead of $PLATFORM_PREFIX/bin/arm-linux-androideabi-nm With NM=$PLATFORM_PREFIX/bin/arm-linux-androideabi-nm in ecl/src/configure:5630, it passes: checking how to define a 32-bit word... .long but I'

Re: [ecl-android v0.0.1]

2015-11-09 Thread Pascal J. Bourguignon
I compiled and installed successfully ecl-android on a cyanogen cm-12.1 android on Sansung Galaxy S4. After getting quicklisp: - I tried (ql:add-to-init-file) but I'm not sure it was successful, since it waits for a newline input. - I tried to start swank, either from the menu, or by evaluati

Re: [ecl-android v0.0.1]

2015-11-09 Thread Pascal J. Bourguignon
Daniel Kochmański writes: > Hey, > > I've noticed in your scripts that you build without the dffi - please > try removing this option. It seems unrelated but who knows. Didn't help. > I can't reproduce your error unfortunately. I have however a suspicion > why libtool can't "see" the toolchain

Re: [ecl-android v0.0.1]

2015-11-07 Thread Pascal J. Bourguignon
(Sorry previous message sent too early, a bug in Thunderbird). On 07/11/15 02:09, Daniel Kochmański wrote: Dear all, for the last few weeks I was working on the ECL Android integration. I've managed to create a basic app which is swank-capable. More info here: https://common-lisp.net/project/e

Re: [ecl-android v0.0.1]

2015-11-07 Thread Pascal J. Bourguignon
On 07/11/15 02:09, Daniel Kochmański wrote: Dear all, for the last few weeks I was working on the ECL Android integration. I've managed to create a basic app which is swank-capable. More info here: https://common-lisp.net/project/ecl/ I'll appreciate all the feedback :) Trying to compile the H

Re: GC and Threading

2015-10-25 Thread Pascal J. Bourguignon
On 25/10/15 09:28, Bix wrote: Hi, just two quick question: 1. Is it possible to disable the threading model and have multiple thread to eval the code or have one ECL per thread? Not, yes, probably not. Check: https://common-lisp.net/project/ecl/manual/ch33.html reading cl_boot should be instru

Re: [C99][Question]

2015-09-22 Thread Pascal J. Bourguignon
Daniel Kochmański writes: > I've got a question - does anyone really depend on a non-C99 compliant > compiler? C99 is 16 years old. I would feel it's rather safe to rely on it. -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only t