xo-reader xo-expression: nested lambdas working properly + docs
This commit is contained in:
parent
e6a3366349
commit
699ee5d38e
41 changed files with 736 additions and 137 deletions
|
|
@ -15,11 +15,11 @@ namespace xo {
|
|||
std::vector<test_case> s_testcase_v = {
|
||||
{"def foo : f64 = 3.14159265;"},
|
||||
{"def foo : f64 = (3.14159265);"},
|
||||
//{"def foo : f64 = 2.0 * 3.14159265;"},
|
||||
{"def foo = 2.0 * 3.141569265;"},
|
||||
{"def foo = lambda (x : f64) 3.1415965;"},
|
||||
{"def foo = lambda (x : f64, y : f64) 3.1415965;"},
|
||||
{"def foo = lambda (x : f64) x;"},
|
||||
{"def foo = lambda (x : f64) { def y = x * x; y; }"},
|
||||
//{"def foo = lambda (x : f64) { def y = x * x; y; }"},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue