Commit Graph

2885 Commits

Author SHA1 Message Date
Erik Svedäng
86dcb3c7c2 Link to https://github.com/carpentry-org 2018-11-06 20:18:44 +01:00
Erik Svedäng
2417b4bf73
Merge pull request #319 from hellerve/master
Add performance-oriented patches
2018-10-31 14:35:45 +01:00
hellerve
e887a5633b core: remove put! and remove! from map and set 2018-10-31 13:42:05 +01:00
hellerve
16e2d7fb85 core: add remove! and put! and make reduce take ownership 2018-10-31 11:33:29 +01:00
Erik Svedäng
0fefb3b404 Instructions for loading via git. 2018-10-25 16:07:34 +02:00
Erik Svedäng
cbbc9cb9db
Merge pull request #316 from hellerve/fix-gol
Fix game of life example
2018-10-25 15:45:54 +02:00
hellerve
48e42a9aae examples: fix game of life example 2018-10-25 12:45:31 +02:00
Erik Svedäng
abb9da7ffc new bug 2018-10-23 22:41:41 +02:00
Erik Svedäng
4fd61facb1 Doc changes. 2018-10-23 15:51:31 +02:00
Erik Svedäng
228cb8a468
Merge pull request #314 from hellerve/moar-moar-io
add IO.errorln and IO.error
2018-10-23 15:49:16 +02:00
Erik Svedäng
37570cd649
Merge pull request #312 from hellerve/markdown-docs
Add suport for markdown in docstrings
2018-10-23 15:46:52 +02:00
hellerve
6e33a8c2f9 core: add IO.errorln and IO.error 2018-10-22 17:47:40 -04:00
hellerve
8341b7e026 compiler: add suport for markdown in docstrings 2018-10-22 15:58:57 -04:00
Erik Svedäng
e84018fe6c
Merge pull request #313 from 4lph4-Ph4un/master
fix #306
2018-10-22 21:29:13 +02:00
Erik Svedäng
6e428a07c6 Merge branch 'fix-slash-char' of https://github.com/hellerve/Carp into hellerve-fix-slash-char 2018-10-22 21:22:44 +02:00
cbc4c43b8e fix #306 2018-10-22 22:22:25 +03:00
Erik Svedäng
8040d40156
Merge pull request #310 from hellerve/optional-colors
Compiler: only use colored errors on ttys
2018-10-22 21:21:34 +02:00
Erik Svedäng
f985e5aa75 Merge branch 'master' of https://github.com/carp-lang/Carp 2018-10-22 21:17:33 +02:00
Erik Svedäng
28d811498b Merge branch 'random-seeding' of https://github.com/hellerve/Carp into hellerve-random-seeding 2018-10-22 21:15:48 +02:00
Erik Svedäng
7af30165b7
Merge pull request #308 from hellerve/moar-io
Add more file IO functions
2018-10-22 21:14:18 +02:00
hellerve
d028f81456 emit: fix emitting slash character 2018-10-20 18:04:31 -04:00
hellerve
498af1ad45 compiler: only use colored errors on ttys 2018-10-19 08:33:26 -04:00
hellerve
59f636f051 core: Random.seed with a good default, rename old version to Random.seed-from 2018-10-19 10:31:00 +02:00
hellerve
3877f3988c core: add more file io functions 2018-10-18 17:22:35 +02:00
hellerve
3f4cad15ad core: add fread, fflush, and rewind to IO 2018-10-17 11:46:11 +02:00
Erik Svedäng
f795b221a3
Merge pull request #305 from hellerve/master
Fix typo in manual
2018-10-14 12:20:41 +02:00
hellerve
40af5c3a5a docs: fix #304 2018-10-14 10:06:05 +02:00
Erik Svedäng
f2de6aafd3
Merge pull request #302 from hellerve/add-headerparse-to-loc
Add headerparse to lines_of_code.sh
2018-10-04 16:37:00 +02:00
hellerve
06f6c1be83 loc: add headerparse 2018-10-04 15:20:01 +02:00
Erik Svedäng
eb811848ff
Merge pull request #270 from cammellos/tests/add-args-tests
Add tests for args
2018-10-01 20:43:53 +02:00
Andrea Maria Piana
e59d16090a
Add tests for args 2018-10-01 08:40:58 +02:00
Erik Svedäng
3432f42a56
Merge pull request #297 from hellerve/bool-macros
Proposal: make `and` and `or` macros
2018-09-30 20:20:14 +02:00
Erik Svedäng
fc6c349d96
Merge pull request #298 from hellerve/use-closures-in-core
Use closures in core
2018-09-30 20:17:14 +02:00
hellerve
e4ee7cd153 eval: rename mor and mand to Dynamic.or and Dynamic.and 2018-09-28 10:08:06 +02:00
Erik Svedäng
cf4f4da084 BUGFIX: Don't emit lambdas where some captured type is not concretized. 2018-09-26 22:15:45 +02:00
Erik Svedäng
71289dc029
Merge pull request #300 from hellerve/case-chars
Add Char.upper-case and Char.lower-case
2018-09-25 17:00:57 +02:00
Erik Svedäng
584e9fc53f Don't crash compiler when a type is missing from the env (it happens when the type is external). 2018-09-25 16:51:23 +02:00
Erik Svedäng
531ad4de05 BUGFIX: Handle refs and pointers in 'concretizeType'. 2018-09-25 16:49:02 +02:00
Erik Svedäng
83314ec9d9 Bug #299 doesn't seem to depend on lambdas actually... 2018-09-25 16:44:07 +02:00
hellerve
2d4239ed6b core: rename Char.upper-case and Char.lower-case with ? 2018-09-25 16:40:02 +02:00
Erik Svedäng
9c9911c542 Call concretizeTypeOfXObj on lambda args and the lambda itself. 2018-09-25 16:37:45 +02:00
Erik Svedäng
a4b250ad2c Bug, see issue #299. 2018-09-25 16:30:48 +02:00
hellerve
d4aeee29b6 compiler: revert mangling hack 2018-09-25 16:24:10 +02:00
hellerve
620bc4c5c5 all: use closures in core 2018-09-25 16:20:59 +02:00
hellerve
57ece77b48 test: add tests for Char.upper-case and Char.lower-case 2018-09-25 16:19:30 +02:00
hellerve
0114ae806a core: add Char.upper-case and Char.lower-case 2018-09-25 16:14:38 +02:00
Erik Svedäng
85a2c56598 Make lambdas carry a SymPath instead of a String to their lambda function. 2018-09-25 15:59:55 +02:00
hellerve
023dfa1ae3 all: make and and or macros 2018-09-23 09:34:38 +02:00
Erik Svedäng
58a51af7fd BUGFIX: Missing case in GenerateConstraints patched. 2018-09-21 23:31:29 +02:00
Erik Svedäng
6f457a3aa3 Interesting memory bug with 'and' (and 'or'?) 2018-09-21 19:59:49 +02:00