Hi,
I’ve spent a good while looking through the project’s documentation (and
finding useful apparently undocumented functions such as
`ecl_base_string_pointer_safe`) but I cannot for the life of me work out how to
access the values of a list stored in cons cells.
If I have a function that calls
Chris Osborne writes:
> Am I missing something obvious here or do I just have to use the cl
> functions in C to access elements of what is essentially lisp’s
> simplest data type?
You wouldn't want random C code to fuck with your data structures, would
you?
Don't write C code!
--
__Pascal Bou
Well, I can understand the sentiment, but whilst I said C, it’s actually modern
C++ which is approaching lisp with every new standard IMO. I’m using ECL in an
*extremely* overkill capacity to to act as “smart” config files and to run a
simple REPL for the user to play around with configuring the
On Thu, 30 Jul 2015, Chris Osborne wrote:
Anyhow, here’s the solution:
I just found that enable-smallcons is on by default (for some major performance
gains when I looked into it). In this scenario, there’s a set of macros
ECL_CONS_PTR, ECL_CONS_CAR etc. defined in object.h to access the cons