Commit Graph

2832 Commits

Author SHA1 Message Date
Erik Svedäng
2aed141ac7 Tests for ensuring that recursion works properly. 2018-09-21 18:02:43 +02:00
Erik Svedäng
6d813837ac Move example functions of functions/lambdas from temp. 2018-09-21 17:47:37 +02:00
Erik Svedäng
beadcfa324 Weird bug found. 2018-09-21 17:23:09 +02:00
Erik Svedäng
021cfd04da One more test for error message. 2018-09-21 15:17:12 +02:00
Erik Svedäng
eebd00a479 Test for type mismatch error. 2018-09-21 14:57:41 +02:00
Erik Svedäng
53dc991129 Enable testing for error messages, using the check.sh functionality. 2018-09-21 14:53:06 +02:00
Erik Svedäng
e15e7b93b0 Can make error reporting when using --check print long or short file paths. 2018-09-21 13:57:39 +02:00
Erik Svedäng
cc093ddbc7
Merge pull request #295 from hellerve/macro-info
Add file, line, and column commands
2018-09-19 18:42:49 +02:00
hellerve
cfee23c429 core: fix stray usage of outdated debug functionality 2018-09-19 17:53:09 +02:00
hellerve
76d86f13e1 eval: refactor file, line, and column; Debug: better trace 2018-09-19 17:46:16 +02:00
Erik Svedäng
d1c0cffaab
Merge pull request #296 from hellerve/fix-mode-resolution
Fix mode resolution for multisymbols
2018-09-19 16:45:11 +02:00
hellerve
eed1e06e78 concretize: add command about duplication in modeFromPath 2018-09-19 16:44:36 +02:00
Erik Svedäng
31a988df36 More correct description. 2018-09-19 16:01:41 +02:00
Erik Svedäng
90622cb2e5 ! 2018-09-19 16:00:53 +02:00
Erik Svedäng
573221eaba Link to video. 2018-09-19 16:00:29 +02:00
hellerve
455c0d73b2 concretize: emit correct capture info in multisym specialization 2018-09-19 13:13:38 +02:00
hellerve
e8db8aabe3 compiler: add file, line, and column commands 2018-09-19 12:47:23 +02:00
hellerve
3080671967 tests: add regression tests for #288 2018-09-18 16:47:16 +02:00
hellerve
bcaf8a6904 concretize: honor symbol mode on multisyms (fixes #288) 2018-09-18 16:38:12 +02:00
Erik Svedäng
45524ecec5 Todos. 2018-09-18 15:44:18 +02:00
Erik Svedäng
3f94dc3eaa Reproduce issue #288 in bugs.carp 2018-09-18 15:32:16 +02:00
Erik Svedäng
cf9286c35c
Merge pull request #291 from croyzor/master
Print results as part of test macro
2018-09-15 10:05:24 +02:00
Craig Roy
ac4c8113c5
Merge branch 'master' into master 2018-09-14 20:43:12 +01:00
Erik Svedäng
695f9dba63
Merge pull request #292 from hellerve/get-config
add Project.get-config
2018-09-14 20:42:12 +02:00
Erik Svedäng
81e5897d05
Merge pull request #293 from hellerve/patch-1
README: we have lambdas after all
2018-09-14 20:37:04 +02:00
Veit Heller
2c3d2a9eec
README: we have lambdas after all 2018-09-14 16:01:01 +03:00
Craig Roy
3264afe8e6 Update docs 2018-09-13 18:57:31 +01:00
hellerve
0090b5caf3 test: test Project.get-config 2018-09-13 07:11:48 +02:00
hellerve
e3ee408463 compiler: add Project.get-config 2018-09-13 07:00:03 +02:00
Craig Roy
92501770e6 Print results as part of test macro 2018-09-13 00:13:03 +01:00
Erik Svedäng
2cafaded04 Pointer.to-ref function added. 2018-09-12 12:21:18 +02:00
Erik Svedäng
3ed26e62aa Disable printing of symbol mode. 2018-09-12 09:51:44 +02:00
Erik Svedäng
ae7cf29ad4 Link to map docs. 2018-09-11 17:04:17 +02:00
Erik Svedäng
f543bd86ce
Merge pull request #290 from croyzor/master
Print short-circuiting test results
2018-09-11 16:39:02 +02:00
Erik Svedäng
7166a23f58 Three memory tests work for lambdas. 2018-09-11 16:37:46 +02:00
Erik Svedäng
e17222cb1b Environments of lambdas are sent by POINTER to their deleter
function. Very important.
2018-09-11 16:31:25 +02:00
Erik Svedäng
04bcac3256 Make use of error case for using captured value outside of lambda. 2018-09-11 15:53:26 +02:00
Erik Svedäng
9eab7eeccd Error case for UsingCapturedValue outside lambda. 2018-09-11 15:52:06 +02:00
Erik Svedäng
95fbaa436d Changed memory test. 2018-09-11 15:45:26 +02:00
Erik Svedäng
0056588d4f Problem with env-pointer in lambdas. 2018-09-11 15:45:00 +02:00
Craig Roy
bd52cc458a Print short-circuiting test results 2018-09-08 21:53:16 +01:00
Erik Svedäng
c6fabf68e3 Bugfix for issue #289, recursive functions didn't work when reloading code. 2018-09-07 14:38:58 +02:00
Erik Svedäng
5f0debd674 Lambda bugfixes, can know if a global variable lookup is a function or
a variable now.
2018-08-31 15:12:14 +02:00
Erik Svedäng
640bcb253f Merge branch 'master' into lambdas 2018-08-31 14:02:17 +02:00
Erik Svedäng
486f9350fb
Merge pull request #285 from hellerve/docs
Add map to std types in docs
2018-08-30 23:11:29 +02:00
hellerve
f0e11fd7fe docs: add map to std types 2018-08-30 12:21:45 -07:00
Erik Svedäng
f8dc504ead Lambda bugs to fix. 2018-08-30 15:54:19 +02:00
Erik Svedäng
78fe6d3856 More mangling. 2018-08-30 15:13:13 +02:00
Erik Svedäng
14f03252a8 Created a 'ToTemplate' module to avoid putting too much stuff into Concretize. 2018-08-30 13:07:39 +02:00
Erik Svedäng
b0998a6e12 Removed 'lambdaNesting' argument and simplified code. 2018-08-30 12:24:42 +02:00