Commit Graph

670 Commits

Author SHA1 Message Date
Erik Svedäng
275947dc35 BUGFIX: Can't define '=' in terms of '=' on generic members of type, see Pair.= 2018-06-13 12:29:54 +02:00
Erik Svedäng
bcd4e6d298 Test for resolving correctly. 2018-06-13 11:59:13 +02:00
Erik Svedäng
3bcd2fe2eb Expression problem example. 2018-06-13 08:14:26 +02:00
Erik Svedäng
0b90452f66 Todo done. 2018-06-12 16:14:46 +02:00
Erik Svedäng
84b39f8b24 Bug is fixed? 2018-06-12 16:08:46 +02:00
Erik Svedäng
b1248ac376 BUGFIX: Prevent infinite loop in constraint solver. 2018-06-12 10:57:59 +02:00
Erik Svedäng
e80a41f2ce Test fixes. 2018-06-12 09:01:20 +02:00
Erik Svedäng
2935105172 More examples for map. 2018-06-12 08:43:51 +02:00
Erik Svedäng
d980f3c0e9 {} syntax expands to Map.from-array 2018-06-12 08:36:58 +02:00
Erik Svedäng
a5a9a186eb A test to ensure we don't introduce the same bug again. 2018-06-11 15:44:58 +02:00
Erik Svedäng
669aca2b96 Added dynamic function 'Project.no-echo' to disable echoing in examples. 2018-06-05 10:05:33 +02:00
Erik Svedäng
6fb5a48d48 Relaxed the requirement on 'main' so it allows generic types. 2018-06-04 15:17:14 +02:00
Erik Svedäng
1079075637 Various tweaks. 2018-06-01 16:40:14 +02:00
Erik Svedäng
b438edf09c BUGFIX: Parser now must consume whole input. 2018-06-01 10:24:46 +02:00
Erik Svedäng
718ed39d55 Example. 2018-06-01 09:42:02 +02:00
Erik Svedäng
b11e42887f Experimenting with 'private'. 2018-05-31 17:34:03 +02:00
Erik Svedäng
e0da601f36 Signature annotations are honored and a mismatch will lead to compiler error. 2018-05-31 14:37:57 +02:00
Erik Svedäng
bad64703ae Prep. 2018-05-31 13:09:34 +02:00
Erik Svedäng
d5ea81506b BUGFIX: def needs to come before hidden, or the compiler chokes 2018-05-31 12:05:55 +02:00
Erik Svedäng
d1fa3eb9d5 One more todo. 2018-05-31 10:02:56 +02:00
Chris Hall
7c1dd210d7 Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
2018-05-23 10:03:42 +10:00
Erik Svedäng
c93621b5de
Merge pull request #241 from hellerve/random
Add random module
2018-05-22 20:01:28 +02:00
hellerve
032249b342 core: add random module (referencing #227) 2018-05-22 19:34:38 +02:00
Erik Svedäng
707614e999
Merge pull request #232 from mkfifo/string-library-improvements
String library improvements
2018-05-22 19:10:22 +02:00
Erik Svedäng
0455d2d274 Note. 2018-05-22 14:01:20 +02:00
Chris Hall
b46b2a39e8 String.append is now by reference, StringCopy.append is by copy/linear
Adding memory leak tests to String.append and StringCopy.append

Issue #94
2018-05-20 14:16:10 +10:00
Chris Hall
f11969231a Removing (build), (run), (quit) from examples/updating.carp 2018-05-20 12:05:58 +10:00
Chris Hall
c42471ec7a Removing use of random from example/updating.carp to help issue #227 2018-05-20 12:05:58 +10:00
Chris Hall
24ae95bc65 Removing two buggy tests from example/basics.carp which were causing issue #227 2018-05-20 12:05:58 +10:00
Erik Svedäng
d25e1619ab Updated render-text-to-texture to allow setting the color of the text. 2018-04-24 15:02:06 +02:00
hellerve
414451f2fa tests: add test script recording 2018-04-10 12:34:36 +02:00
Erik Svedäng
6bbb0c8190 Can hide bindings with (hidden ...) 2018-03-27 14:32:47 +02:00
Erik Svedäng
891b34f0d1 Sidebar. 2018-03-27 10:51:16 +02:00
Erik Svedäng
ef1549250f More work on docs. 2018-03-27 09:43:39 +02:00
Erik Svedäng
32eaae7a5c Pretty nice looking docs. 2018-03-27 09:05:58 +02:00
Erik Svedäng
62df5ebfc8 Tweaked temp code. 2018-03-26 16:55:54 +02:00
Erik Svedäng
95b74e4179 Can set and preserve meta before def/defn/defmacro/defdynamic. 2018-03-26 16:51:43 +02:00
Erik Svedäng
c3ab3a43e3 Can set meta on non-existing binders (enables docstrings etc before
the definition).
2018-03-26 16:20:09 +02:00
Erik Svedäng
79bf4115a8 Resolution of symbols seems reasonable in meta set/get. 2018-03-26 16:02:17 +02:00
Erik Svedäng
92454c4f94 More keycodes. 2018-03-26 14:09:43 +02:00
Erik Svedäng
83cf727133 Moved keycodes into submodule. 2018-03-26 13:52:34 +02:00
Erik Svedäng
0cd8b4d3ac draw-texture-centered 2018-03-26 11:54:20 +02:00
Erik Svedäng
c91de4b87f Updated ant.carp so it doesn't crash when reaching the border. 2018-03-26 11:22:18 +02:00
Erik Svedäng
4f3882af78 Solving the qualification bug... 2018-03-26 09:29:29 +02:00
Erik Svedäng
8a7e662de7 Fixed typo in example. 2018-03-26 08:50:32 +02:00
Erik Svedäng
eda06f3bc1 Reproduced error in bugs.carp 2018-03-26 08:47:46 +02:00
Erik Svedäng
9e49684ad6 Change of maths. 2018-03-26 07:35:07 +02:00
Erik Svedäng
3d3b34f70f Bugfixes and cleanup of minimal example. 2018-03-24 16:28:35 +01:00
Erik Svedäng
a94338dfb0 indentation 2018-03-24 11:22:24 +01:00
Erik Svedäng
97e11d9303 Use nicer event handling in game.carp also. 2018-03-24 11:19:49 +01:00