Commit Graph

24 Commits

Author SHA1 Message Date
Veit Heller
d3a6ca562f
docs: document core modules (#1271) 2021-07-05 14:48:35 +02:00
guberathome
0c038365d7
IO.Raw (#1243)
* feat!: move C library wrapper funtions to IO.Raw

* docs: fixed doc string for (String.allocated?)

* docs: removed superfluous parameter names for defns

* fix: replaces IO.exit by System.exit

* fix: ./test/regression.carp for (IO.read->EOF)

* fix: ./test/system.carp

* feat: implemented IO.fwrite!

* feat!: removed IO.exit

* feat!: raw character input now returns Int instead of Char

* fix: removed irritating space chars

* fix: repaired ./example/carp_demo.carp

* fix: reverted System.exit to return an Int for SDL examples

* fix: removed System.exit!

Co-authored-by: guberatsie <gunnar.bernhardt@siemens.com>
2021-06-17 17:33:10 +02:00
Veit Heller
bdaf96550f
refactor: use quasiquoting in STDLIB and go through array in quasiquote (#1135) 2021-01-21 06:20:03 +01:00
hellerve
1b39139d7b core: fix Debug.trace for new evaluator 2020-05-16 12:46:05 +02:00
Jorge Acereda
554b9df849 Use abort() for assertions. 2019-07-29 21:48:20 +02:00
Jorge Acereda
e8c9d77d8f Enabling address sanitizer yields warnings due to _FORTIFY_SOURCE redefinition. 2019-06-20 12:12:26 +02:00
hellerve
8b78fe453a core: optionally check malloc 2019-06-17 09:17:20 +02:00
Erik Svedäng
0049c13111 Renamed 'defdynamic' to 'defndynamic'. 2019-03-13 18:49:48 +01:00
hellerve
9848e8fb34 multiple fixes:
- don’t do function copying in benchmarking
- fix the array_update benchmark
- add Filepath.file-from-path
- add tests for the `Filepath` module
- reformat a lot of documentation
2019-02-15 14:48:49 +01: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
hellerve
0071399134 core: fix stray closing bracket (thanks @mkfifo) 2018-05-16 06:11:04 +02:00
hellerve
b2c57e16d3 core: initial documentation work 2018-05-12 16:08:48 +02:00
Erik Svedäng
518a0a2165 Function for leaking memory on purpose. 2018-03-29 07:03:00 +02:00
Erik Svedäng
9d36c9e220 Fixed: 'assert' macro. Also -- reporting of errors in expanded macros now works. 2018-03-13 13:10:15 +01:00
Erik Svedäng
a9fd73ab2a Load 'Debug.carp' by default. 2018-03-13 09:43:08 +01:00
Erik Svedäng
97fef54482 Some comments in the Debug module. 2018-02-08 17:55:44 +01:00
Erik Svedäng
a25606725e Proper 'assert' macro that reports source location. 2018-02-06 10:12:43 +01:00
Erik Svedäng
d23a211985 BUG FIX: Must handle deletion of temporary values used during initialization of global variables. 2018-02-06 08:21:50 +01:00
Erik Svedäng
7cd40a8ad5 Better support for globals. 2018-01-02 08:56:23 +01:00
Erik Svedäng
6d5bd6a74d More uniform solution for memory logging. 2018-01-02 06:54:05 +01:00
Erik Svedäng
7296b83264 memory-logged macro 2018-01-02 06:46:01 +01:00
Erik Svedäng
463050d8d7 Trace function. 2017-12-25 16:33:03 +01:00
Erik Svedäng
57bb9a7469 Extracted out Debug module. 2017-12-23 14:10:44 +01:00