mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
f78fd16a71
* 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>
10 lines
329 B
Plaintext
10 lines
329 B
Plaintext
(defndynamic project-config [bindings]
|
|
(if (< (length bindings) 2)
|
|
(list)
|
|
(cons-last (project-config (cdr (cdr bindings))) (list 'do (list 'Project.config
|
|
(car bindings) (car (cdr bindings)))))))
|
|
|
|
(doc defproject "Define a project configuration.")
|
|
(defmacro defproject [:rest bindings]
|
|
(project-config bindings))
|