Daniel Kochmański
54777b8b40
configure: fix boehm autodetection
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-20 20:50:13 +02:00
Daniel Kochmański
d477737304
serror: move stack error to sys package
...
Mark it also as internal API
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-20 13:08:17 +02:00
Daniel Kochmański
c763661092
cosmetic: fix indentation
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 19:44:44 +02:00
Daniel Kochmański
f27a1dbf43
shiftf: return one value, not all of them
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 17:46:02 +02:00
Daniel Kochmański
3825356c32
cosmetic: wrap line in compiler.d
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 16:33:51 +02:00
Daniel Kochmański
606d444cbd
destructure: improve context handling
...
Add handling of arbitrary context as case clause
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 16:33:48 +02:00
Daniel Kochmański
29e1847f5d
check-keyword: fix typo
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 15:47:38 +02:00
Daniel Kochmański
76d870fe39
psetf: fix corner-case
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 13:57:11 +02:00
Daniel Kochmański
3845303191
tests: fix pathname test
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 12:31:50 +02:00
Daniel Kochmański
6c0860b3cf
pathname: fix logical translation wrt wildcards
...
Fixes #103 .
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 10:09:17 +02:00
Daniel Kochmański
1071914e46
tests: pathname: fix typo
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 09:31:49 +02:00
Daniel Kochmański
3117bc2e7d
util: gdbinit ignores GC signals
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 09:15:11 +02:00
Daniel Kochmański
10ebf2550e
tests: add regression test for logical pathnames
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 08:29:07 +02:00
Daniel Kochmański
82ff54b2bf
cosmetic: wrap lines esthetically
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 08:17:32 +02:00
Daniel Kochmański
86f09e0c2b
deftype: make maptree non-destructive
...
Thanks to that we traverse lambda-list tree only once.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 17:48:45 +02:00
Daniel Kochmański
a2ceed9cb3
deftype: use destructure directly, remove unused arg
...
Removes ENV arg, which were ignored by using destructure directly.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 15:39:29 +02:00
Daniel Kochmański
c70894f124
destructure: export function from system package
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 15:38:06 +02:00
Daniel Kochmański
5b8d9de70d
deftype: update docstring
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 13:44:32 +02:00
Daniel Kochmański
0af7015903
tests: add regressions tests for deftype
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 13:24:24 +02:00
Daniel Kochmański
9b9eb1a2dd
deftype: optimize traversing a tree
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:53:20 +02:00
Daniel Kochmański
64a96a537b
cosmetic: deduplicate expand-deftype function definition
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:07:57 +02:00
Daniel Kochmański
3f74981b54
predlib: fix bogs expand-deftype
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:07:35 +02:00
Daniel Kochmański
0359b79c81
deftype: make deftype accept macro lambda-lists
...
Fixes #86 .
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:06:03 +02:00
Daniel Kochmański
ccdf8fab66
cosmetic: remove dead code
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 10:59:31 +02:00
Daniel Kochmański
f79a157387
lambda-list: add check for the proper context (function)
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 14:12:46 +02:00
Daniel Kochmański
6b2b2ac598
cmpprop: fix repeated required arguments
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 12:59:43 +02:00
Daniel Kochmański
7b3373ece8
lambda-list: Improve error message in c-compiler
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 12:58:32 +02:00
Daniel Kochmański
5340b92ab8
lambda-list: enforce unique names among required parameters
...
Signal an error, if two required parameters have the same name.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 12:57:25 +02:00
Daniel Kochmański
6a8cc03e8a
cosmetic: undef unused macro
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 12:26:57 +02:00
Daniel Kochmański
8869a54bde
flet/labels: make same function name error message more descriptive
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 12:15:53 +02:00
Daniel Kochmański
e289af9500
LET: signal an error when multiple bindings of the same name occur
...
This situation is unspecified by ANSI spec – also hard to find
situation, when such construct wouldn't be an error.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-17 10:07:31 +02:00
Daniel Kochmański
7a59ebda66
c_leta: don't compute whole list length for optimization
...
This is interpreter performance tweak. Behavior stays the same.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-16 18:28:49 +02:00
Daniel Kochmański
64d0b5586a
flet/labels: signal an error if same name is used more than once
...
This behavior is unspecified by the ANSI spec, so we are free to do
that – can't imagine valid usecase of such blocks.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-16 18:25:08 +02:00
Daniel Kochmański
18ee04ed2f
tests: add test-ansi suite stub
...
For now contains readtable case tests.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-13 21:40:43 +02:00
Daniel Kochmański
1bc33781d8
tests: mop-dependents: remove typo (?)
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-13 14:13:44 +02:00
Daniel Kochmański
61f2c84d85
tests: fix broken testing framework
...
This still needs refinements, but works.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-12 16:27:24 +02:00
Daniel Kochmański
1b7c1e7b25
tests: fix wrong assumption on assert
...
Tests using assert assumed it returns (values) — no value, but it
returns nil if assertion is true. Add it to deftests.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-12 14:21:54 +02:00
Daniel Kochmański
279dda194d
encodings: fix misplaced function reference
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-12 13:27:08 +02:00
Daniel Kochmański
b37b20cf8e
external-process: rename struct member to error-stream
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-12 11:22:29 +02:00
Daniel Kochmański
fc976a96ff
doc: refine documentation for external-process
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-12 11:21:27 +02:00
Daniel Kochmański
8a905f31e8
run-program: allow further customization of process communication
...
Implement key parameters `if-input-does-not-exist', `if-error-exists'
(for pathnames) and `external-format' for both pathnames and streams.
Fixes #107 .
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-12 08:55:13 +02:00
Daniel Kochmański
9c948a188c
system: set streams to nil
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-10 22:30:59 +02:00
Daniel Kochmański
06b4774717
rt: fix mixied package lock test
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-10 22:02:25 +02:00
Daniel Kochmański
2e6596ae25
tests: remove unused/outdated/unrelated tests
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-10 21:41:58 +02:00
Daniel Kochmański
fa0d48f270
run-program: error stream default value is :output
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-09 11:10:51 +02:00
Daniel Kochmański
e3ec8fa496
trace: improve warning message
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-09 10:53:42 +02:00
Daniel Kochmański
bacece3827
Revert "cmp: ffi: cast `ecl_make_foreign_data' 3rd argument to *(void **)"
...
This reverts commit ab50a55fb1 .
We can't cast every 3rd argument to *(void **) - this breaks *things*.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-08 08:36:43 +02:00
Daniel Kochmański
63e7187866
logical-pathname-translations: signal error if pathname not defined
...
If logical pathname wasn't defined yet, signal type error. Fixes #102 .
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-05 14:05:12 +02:00
Daniel Kochmański
0dcfdcfeb6
run-program: make invalid handler errorr message more readable
...
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-04 12:39:34 +02:00
Daniel Kochmański
850f1ccce4
ffi: remove package nickname 'uffi'
...
Our ffi isn't uffi 2.0 compatible and most systems wants this, when
they say (require 'uffi). Also if system has asdf dependency on
quicklisp) we have package name error.
We'll depend with UFFI 2.0 compability on cffi-uffi-compat, what is
the saniest approach. Some ECL specific patches will land there soon
to improve performance - no internal FFI api will change. It's just
nick removal.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-04 12:22:02 +02:00