Commit Graph

2815 Commits

Author SHA1 Message Date
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
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
Erik Svedäng
b6a51f4a0a Rudimentary analysis of ownership in lambdas. 2018-08-30 09:53:32 +02:00
Erik Svedäng
2854a63fa5 Next up: Make this example compile... 2018-08-29 16:29:56 +02:00
Erik Svedäng
fdd14614dd Remove duplicates when collecting captured vars. 2018-08-29 16:14:04 +02:00
Erik Svedäng
2d38eeba2c Delete and copy functions are set and called. 2018-08-29 15:10:41 +02:00
Erik Svedäng
72c2330bab Added 'copy'-callback on Lambda struct. 2018-08-29 12:13:56 +02:00
Erik Svedäng
78b192bb36 BIG CHANGE: Functions are managed now. 2018-08-29 11:32:33 +02:00
Erik Svedäng
c64226fc82 Comments. 2018-08-29 10:05:28 +02:00
Erik Svedäng
19378c6bca Merge branch 'master' into lambdas 2018-08-28 19:16:54 +02:00
Erik Svedäng
e6e6644004
Merge pull request #284 from hellerve/fix-discoloration
Fix discoloration on reset
2018-08-28 18:48:19 +02:00
hellerve
bbe5d29ac0 repl: fix discoloration on reset; fixes #283 2018-08-28 09:43:58 -07:00
Erik Svedäng
26ea939813 Handle hyphens in function names in regards to lambdas. 2018-08-28 15:03:23 +02:00
Erik Svedäng
f6abc6a3a3 Can capture variables in an environment (leaks though!) 2018-08-28 14:51:20 +02:00
Erik Svedäng
ee9f2fe605 What variables to capture are identified and marked in the AST. 2018-08-28 14:41:50 +02:00
Erik Svedäng
60abdba056 Environments know their nesting level (nr of nested _functions_, not environments). 2018-08-28 14:23:44 +02:00
Erik Svedäng
a72f01e9ec Prepping. 2018-08-28 13:58:24 +02:00
Erik Svedäng
3e8ea4c22b Lookup mode for local variables, Capture / NoCapture 2018-08-28 13:26:51 +02:00
Erik Svedäng
93efaea0ea Lambda environment is set up correctly, just need to know what
variables to capture.
2018-08-28 12:25:22 +02:00