Commit Graph

1548 Commits

Author SHA1 Message Date
Erik Svedäng
209df996f3 A way to run the compiler without entering the REPL, just build (and potentially run) all the code and then exit. 2017-11-20 16:02:56 +01:00
Erik Svedäng
6ad8b82a2d Docs. 2017-11-20 15:58:03 +01:00
Erik Svedäng
d8850ee03c Compiler flags for building and running. 2017-11-20 15:55:21 +01:00
Erik Svedäng
72119d6db4
Merge pull request #100 from hellerve/apply-hlint
Apply hlint fixes
2017-11-20 15:24:35 +01:00
hellerve
520c5d8c4a compiler: added hlint ignore flags as discussed in #100 2017-11-20 13:36:39 +01:00
Erik Svedäng
40a1e5aa5a Milestones. 2017-11-20 10:15:57 +01:00
Erik Svedäng
25f6db3bab More reorganisation of todos. 2017-11-20 08:05:08 +01:00
Erik Svedäng
f677bfd1e8 Reorganized the todos. 2017-11-20 08:04:29 +01:00
hellerve
d46521dc1d compiler: applied hlint fixes 2017-11-19 17:35:53 +01:00
Erik Svedäng
02cc5d4d51 Search paths for (load ...) command. 2017-11-17 18:54:30 +01:00
Erik Svedäng
13418bf900 Removed code for setting identifiers in Parsing.hs since that is now handled by 'setNewIdentifiers" in Eval.hs 2017-11-17 18:04:57 +01:00
Erik Svedäng
254deaebdb Fixed: Ensure 'Array.pop-back' is memory safe and shrinks the array properly. 2017-11-17 18:01:28 +01:00
Erik Svedäng
a3d5f551c8 Another todo. 2017-11-17 17:35:21 +01:00
Erik Svedäng
1d099c43ce Moved external struct example to its own file. 2017-11-17 17:34:07 +01:00
Erik Svedäng
39fa806e36 Todo done: Enable interop with existing C structs. 2017-11-17 17:00:42 +01:00
Erik Svedäng
c3ca5f6772
Merge pull request #99 from hellerve/typecheck-main
Added special cases to typecheck main function
2017-11-17 16:57:20 +01:00
Erik Svedäng
ba8330cd4e Init, new and str functions are automatically defined for external structs too. 2017-11-17 16:52:34 +01:00
Erik Svedäng
ad24d7dad8 Can define member getter/setters/updaters for external structs. 2017-11-17 16:31:41 +01:00
hellerve
977a268591 compiler: added special cases to main function 2017-11-17 15:30:44 +01:00
Erik Svedäng
ff65b37925 Merge branch 'master' of https://github.com/carp-lang/Carp 2017-11-17 14:55:39 +01:00
Erik Svedäng
e4acffd807 Math done. 2017-11-17 14:55:28 +01:00
Erik Svedäng
cfd598bad2
Merge pull request #98 from hellerve/math
Math functions, Vol. III: Math for Ints and Longs (Closer)
2017-11-17 14:54:10 +01:00
hellerve
b3d19ae9da int/long: added math functions 2017-11-17 12:26:01 +01:00
Erik Svedäng
597d1d5cac One more todo after reading the blog post :) 2017-11-16 23:03:03 +01:00
Erik Svedäng
23a4bcf573
Merge pull request #97 from hellerve/safe-arithmetic
RFC: safe arithmetic
2017-11-16 22:49:11 +01:00
hellerve
40c19b138e int/long: added safe arithmetic 2017-11-16 21:19:39 +01:00
Erik Svedäng
c6f1a155da
Merge pull request #96 from hellerve/math
Math functions, Vol. II: Math for Floats
2017-11-16 16:13:26 +01:00
hellerve
64a82c2730 float: added all math function in math.h 2017-11-16 09:46:06 +01:00
Erik Svedäng
ac1ff31a71
Merge pull request #95 from hellerve/math
Math functions, Vol. I: Math for Doubles
2017-11-15 23:33:36 +01:00
hellerve
d346673a74 double: added all math function in math.h 2017-11-15 14:06:49 +01:00
Erik Svedäng
b8dd52495f Let's find the bug..! 2017-11-14 23:18:28 +01:00
Erik Svedäng
e7d77353ab Remove bleh function. 2017-11-14 22:48:10 +01:00
Erik Svedäng
51d9d15373 Load paths todo. 2017-11-14 22:38:05 +01:00
Erik Svedäng
3f819efab7 (register-type my_position_struct [x Int, y Int]) 2017-11-14 22:35:31 +01:00
Erik Svedäng
f03458c383 Todo. 2017-11-14 22:33:40 +01:00
Erik Svedäng
1fc45a363c Remove todo. 2017-11-14 22:32:27 +01:00
Erik Svedäng
39c405bfb6 Remove duplicated function '/=' in Long.carp 2017-11-14 22:30:21 +01:00
Erik Svedäng
b8638f3920
Merge pull request #90 from hellerve/not=
Add /= wherever = is defined
2017-11-14 21:44:22 +01:00
Erik Svedäng
ab6859374a
Merge pull request #91 from hellerve/additions-to-char
Additions to Char
2017-11-14 21:43:33 +01:00
hellerve
99573e335f core: bugfix in String.from-chars; added Char.to-int and Char.from-int 2017-11-14 18:33:03 +01:00
hellerve
0990ed60cd core: add /= wherever = is defined 2017-11-14 18:09:18 +01:00
Erik Svedäng
376dee89e2
Merge pull request #88 from hellerve/statistics-tests
Statistics, revisited
2017-11-10 12:57:50 +01:00
Erik Svedäng
28f0199160 Critical bug. 2017-11-08 21:57:03 +01:00
hellerve
e3a0da969a statistics: updated tests 2017-11-07 15:06:47 +01:00
Erik Svedäng
395878c5e4
Merge pull request #87 from hellerve/benchmarking
Add a Benchmarking module
2017-11-07 13:39:02 +01:00
hellerve
e326be04fa bench: removed stale function 2017-11-06 20:57:41 +01:00
hellerve
395ff17574 bench: refactored bench function to make slightly less sucky 2017-11-06 20:47:21 +01:00
hellerve
dfe57da99d bench: added clarification 2017-11-06 20:32:59 +01:00
hellerve
f794d7685f bench: added nanosecond accuracy 2017-11-06 20:23:33 +01:00
hellerve
e2dfe35079 bench: fixed void in let binding 2017-11-06 20:04:13 +01:00