define renamed to def, defun renamed to defn

This commit is contained in:
vaclavt
2022-01-25 19:50:59 +01:00
parent 62015c2ff8
commit e6f61c9d9f
14 changed files with 189 additions and 189 deletions

6
ml.h
View File

@@ -7,14 +7,14 @@
#include <exception>
#ifdef NDEBUG
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ "), Release";
const std::string VERSION = "ml 0.5 (" __DATE__ " " __TIME__ "), Release";
#else
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ "), Debug";
const std::string VERSION = "ml 0.5 (" __DATE__ " " __TIME__ "), Debug";
#endif
const std::string STDLIB_LOADER =
R"(
(do (define ___lib_path "/usr/local/var/mlisp")
(do (def ___lib_path "/usr/local/var/mlisp")
(if (is-dir? ___lib_path)
(for file (ls-dir ___lib_path)
(if (string-regex? file "^stdlib\.lsp$")