mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-19 01:18:40 +03:00
11 lines
245 B
Plaintext
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))
|