Daniel Kochmański
3e37843a33
cleanup: update license to lgpl-2.1+ in both headers and text
2024-01-14 12:22:27 +01:00
Daniel Kochmański
e4988d1f7c
cmp: don't USE the package EXT
2023-02-21 14:34:11 +01:00
Marius Gerbershagen
eedbbc08c2
cmp: add type checks in mapl/maplist/mapcon compiler-macros
...
We are transforming these functions into (loop :on ...). This simply
stops when the objects which we are looping on is not a list, but we
need to signal a type-error because the mapping functions are
specified to take only lists.
2021-03-21 17:33:06 +01:00
Marius Gerbershagen
14d46da134
cmp: fix evaluation order bugs in compiler macros
2020-03-21 11:44:01 +01:00
Daniel Kochmanski
7320c9049c
mapcar-expand: fix-typo
2017-08-10 20:32:02 +02:00
Daniel Kochmanski
6d8b0e7f62
compiler: expand-mapcar: issue error at runtime
...
and compiler warning during compilation.
2017-08-10 20:21:04 +02:00
Matthew Mondor
8f07cd58d8
The ECL code no longer uses tabulator characters, they were replaced
...
by spaces.
A custom script was used to insert/replace Emacs and ViM per-file editor
settings according to their type and the new ECL coding style.
2015-09-03 07:35:47 -04:00
Daniel Kochmański
a04b6ff8b8
cmp: mapcar: evaluate function only once
...
When function is a closure, all lexical environment were reinitialized
on each function call, because it was expanded multiple times. Do it
only once and use result in funcall. Fixes #17 .
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-07-16 07:52:52 +02:00
Daniel Kochmański
4d19a27424
cosmetic: untabify
...
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-06-21 14:38:20 +02:00
Juan Jose Garcia Ripoll
984631d80f
Fixed optimization of MAPL and MAPC: output value was wrong.
2008-06-23 00:23:39 +02:00
jgarcia
a59f90871a
Emacs modelines for better editing
2008-02-02 19:14:05 +00:00
jgarcia
683b938169
Compiler macro functions for MAPCAR and friends.
2006-10-01 21:09:39 +00:00
jjgarcia
3b861d5e3b
Second version of the inliner for LAMBDA forms.
2003-06-09 12:40:46 +00:00
jjgarcia
9ff486f0ba
Implemented inlining of LAMBDA expressions when they appear in the place of a function, such as the beginning of a list, or as a first argument to APPLY and FUNCALL. We can now safely remove the mechanism CALL-LAMBDA which inlines LAMBDA forms when the C code is being produced.
2003-06-09 12:19:39 +00:00
jjgarcia
a381a7ee09
Merge NEW_COMPILER 25.05.03
2003-05-26 09:49:50 +00:00
jjgarcia
6b76d155ee
Create new functions SI::{GET,PUT,REM}-SYSPROP to handle vital information
...
about functions, SETF forms, DEFTYPEs, etc. Property lists are no longer
used for this task.
2003-03-21 14:18:56 +00:00
jjgarcia
2d8d0cd44b
Initial revision
2001-06-26 17:14:44 +00:00