include path changes
This commit is contained in:
11
ml.cpp
11
ml.cpp
@@ -4,9 +4,9 @@
|
||||
#include "ml_date.h"
|
||||
#include "ml_string.h"
|
||||
|
||||
#include "csvparser.h"
|
||||
#include "sslclient.h"
|
||||
#include "json11.h"
|
||||
#include "clib/csvparser.h"
|
||||
#include "clib/sslclient.h"
|
||||
#include "clib/json11.h"
|
||||
|
||||
|
||||
#include <cmath>
|
||||
@@ -1519,6 +1519,8 @@ namespace builtin {
|
||||
return MlValue::string(args[0].debug());
|
||||
}
|
||||
|
||||
// >>> (map (lambda (x) (+ x 10)) '(1 2 3 4 5 6))
|
||||
// => (11 12 13 14 15 16)
|
||||
MlValue map_list(std::vector<MlValue> args, MlEnvironment &env) {
|
||||
eval_args(args, env);
|
||||
|
||||
@@ -1751,6 +1753,8 @@ int main(int argc, const char **argv) {
|
||||
srand(time(NULL));
|
||||
try {
|
||||
load_std_lib(env);
|
||||
// for xcode profiling
|
||||
// run(read_file_contents("/Users/vaclavt/Development/mlisp/tests/test.lsp"), env);
|
||||
|
||||
if (argc == 1 || (argc == 2 && std::string(argv[1]) == "-i"))
|
||||
repl(env);
|
||||
@@ -1767,4 +1771,3 @@ int main(int argc, const char **argv) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user