mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
* refactor: Move code out of Macros.carp into other files * fix: Move back some macros needed in --no-core mode * refactor: Remove weird 'evaluate' macros * fix: Put back more macros * fix: Remove transitive loading of Macros.carp * refactor: Remove ArrayMacros.carp and put 'for' at top of Array.carp instead * refactor: More splitting up * refactor: Move back save-docs * fix: Moved back some stuff Co-authored-by: Erik Svedang <erik@Eriks-iMac.local>
16 lines
319 B
Plaintext
16 lines
319 B
Plaintext
;; This compiles without needing the core libraries (--no-core flag)
|
|
|
|
(system-include "limits.h")
|
|
(system-include "carp_stdbool.h")
|
|
|
|
(load "Macros.carp")
|
|
(load "ControlMacros.carp")
|
|
(load "Interfaces.carp")
|
|
(load "Bool.carp")
|
|
(load "Pointer.carp")
|
|
(load "Generics.carp")
|
|
(load "Int.carp")
|
|
|
|
(defn main []
|
|
(Int.+ 1 2))
|