Commit Graph

3583 Commits

Author SHA1 Message Date
Erik Svedäng
8730b174dc
Merge pull request #524 from hellerve/offline-dependencies
Offline dependencies
2019-09-02 10:06:38 +02:00
Erik Svedäng
a8ae8570d5
Merge pull request #517 from jacereda/float-variants
Use float variants.
2019-09-02 10:02:05 +02:00
Erik Svedäng
0b29fd6ff6
Merge pull request #510 from jacereda/string-asserts
Fix string assert, simpler/faster conditions.
2019-09-02 09:48:38 +02:00
Scott Olsen
a8751a712e Macros: Add dynamic list to array transforms
This change adds two utility functions to the Dynamic module for
transforming list forms into arrays and array forms into lists.

Using this function, one can easily convert lists and arrays for
ease of symbol manipulation, for example:

```clojure
(Symbol.join (list-to-array (list 'a 'b 'c)))
```

This comes in handy, for instance, when defining macros, as certain
forms in Carp expect arrays in certain places while others expect
list--this enables the programmer to flexible convert between the two as
needed.
2019-08-26 23:44:29 -04:00
Jorge Acereda
fa96913dfd Fix annotations 2019-08-21 23:09:33 +02:00
Jorge Acereda
a5b527efbe Add stdin/stdout/stderr. 2019-07-29 21:50:08 +02:00
Jorge Acereda
554b9df849 Use abort() for assertions. 2019-07-29 21:48:20 +02:00
Jorge Acereda
ec783a691f Scoring tweaks, fixes #526. 2019-07-28 10:52:09 +02:00
Erik Svedäng
4f9c1500f2
Merge pull request #529 from jacereda/rename-deftype
Rename Typ to Deftype.
2019-07-27 22:07:31 +02:00
Jorge Acereda
8f61cc265b Rename Typ to Deftype. 2019-07-24 20:29:33 +02:00
hellerve
daf8f017c8 core: better error messages in fmt 2019-07-22 13:09:22 +02:00
Jorge Acereda
b8e82b5b6f Lambda copy generated bad code. 2019-07-15 19:38:33 +02:00
hellerve
beb7d4a268 eval: allow dependencies to be processed offline if they are detached 2019-07-14 16:18:05 +02:00
Erik Svedäng
f9497c02ac
Merge pull request #522 from jacereda/more-generic-for
More generic for macro
2019-07-11 22:50:21 +02:00
Jorge Acereda
82bc16c809 More generic for macro 2019-07-09 00:18:38 +02:00
Erik Svedäng
ba7607e2af
Merge pull request #519 from 0xflotus/master
fixed dependencies
2019-07-08 09:00:19 +02:00
0xflotus
d1f525a6f0
Merge pull request #1 from 0xflotus/patch-1
fixed dependencies
2019-07-07 12:31:15 +02:00
0xflotus
9f8f9a2ee2
fixed dependencies 2019-07-07 12:31:01 +02:00
Jorge Acereda
a5f3d0025d Use float variants. 2019-07-06 19:56:35 +02:00
Erik Svedäng
46f3d69a4c
Merge pull request #515 from hellerve/add-release-link
readme: add link to release
2019-07-05 19:04:47 +02:00
hellerve
b487ba0b3e readme: add link to release 2019-07-05 11:54:00 +02:00
Erik Svedäng
4ceb187a06 Bump to version 0.3.0. 2019-07-04 10:34:03 +02:00
Erik Svedäng
af127da90c
Merge pull request #511 from hellerve/todo
Add todo macro
2019-06-27 09:10:57 +02:00
Erik Svedäng
2ea8d09a32 Merge branch 'master' of https://github.com/hellerve/Carp 2019-06-27 09:01:09 +02:00
Erik Svedäng
c5d07b81d7
Merge pull request #509 from jacereda/asan-warnings
Enabling address sanitizer yields warnings due to _FORTIFY_SOURCE red…
2019-06-27 08:59:32 +02:00
Erik Svedäng
7f6a12ac29 Maybe docs 2019-06-27 08:59:11 +02:00
Erik Svedäng
698f1870e1
Merge pull request #505 from hellerve/copy-map-updater
Copy default in Map.update-with-default
2019-06-27 08:55:56 +02:00
hellerve
2e3a9be320 core: update docs for Maybe.ptr 2019-06-23 23:49:54 +02:00
hellerve
f60f72f4b4 core: add todo macro 2019-06-22 20:18:32 +02:00
Jorge Acereda
e10f4228c0 CHK_INDEX macro 2019-06-21 00:00:46 +02:00
Jorge Acereda
d8919bf1e8 Fix string assert, simpler/faster conditions. 2019-06-20 12:43:37 +02:00
Jorge Acereda
e8c9d77d8f Enabling address sanitizer yields warnings due to _FORTIFY_SOURCE redefinition. 2019-06-20 12:12:26 +02:00
Erik Svedäng
7d1d16dd53
Merge pull request #506 from jacereda/sdl-init
Initialize SDL explicitly
2019-06-17 20:26:31 +02:00
Erik Svedäng
2022afede7 Merge branch 'master' of https://github.com/carp-lang/Carp 2019-06-17 20:24:42 +02:00
Erik Svedäng
19eee410c3 SDL pkg-config name should be lowercase. 2019-06-17 20:23:27 +02:00
Erik Svedäng
09422f89d6
Merge pull request #502 from jacereda/just-ptr
Add Unsafe.coerce
2019-06-17 20:23:09 +02:00
Jorge Acereda
a88b3ffbf9 Initialize SDL explicitly 2019-06-17 20:02:17 +02:00
Jorge Acereda
db6e5b87e7 Add Unsafe.coerce
Used for Maybe.ptr, fixes #494.
2019-06-17 19:30:16 +02:00
Erik Svedäng
23da69d80f Better indentation when printingp pretty typed AST. 2019-06-17 14:32:08 +02:00
hellerve
7882b7ad57 core: copy default in Map.update-with-default 2019-06-17 13:43:45 +02:00
Erik Svedäng
bb11929de4 Language. 2019-06-17 09:46:59 +02:00
Erik Svedäng
92087d87bd Fix link. 2019-06-17 09:45:11 +02:00
Erik Svedäng
289323499a Link. 2019-06-17 09:44:24 +02:00
Erik Svedäng
806fe4a3c7 No badge. 2019-06-17 09:43:29 +02:00
Erik Svedäng
ed8fcd4cb7 Mention pkg-config again. 2019-06-17 09:42:44 +02:00
Erik Svedäng
d9766e4a11 Merge branch 'master' of https://github.com/carp-lang/Carp 2019-06-17 09:33:03 +02:00
Erik Svedäng
90478d68da Mention external dependencies. 2019-06-17 09:32:44 +02:00
Erik Svedäng
ae076f5faa
Merge pull request #504 from hellerve/checked-malloc
Optionally check malloc
2019-06-17 09:26:53 +02:00
Erik Svedäng
db62efc825
Merge pull request #495 from jacereda/comp-flags
Use pkg-config for SDL flags.
2019-06-17 09:24:18 +02:00
hellerve
8b78fe453a core: optionally check malloc 2019-06-17 09:17:20 +02:00