Carp/examples/no_core.carp
2019-10-03 00:23:27 +02:00

11 lines
245 B
Plaintext

; this compiles without needing the core libraries (--no-core flag)
(system-include "limits.h")
(system-include "carp_stdbool.h")
(load "Interfaces.carp")
(load "Bool.carp")
(load "Generics.carp")
(load "Int.carp")
(defn main []
(Int.+ 1 2))