xo-reader: feat: parse infix exprs for +,-,*,/ operators

This commit is contained in:
Roland Conybeare 2024-08-14 23:44:17 -04:00
commit 29596a7c1d
5 changed files with 141 additions and 8 deletions

View file

@ -14,7 +14,8 @@ namespace xo {
std::vector<test_case> s_testcase_v = {
{"def foo : f64 = 3.14159265;"},
{"def foo : f64 = (3.14159265);"}
{"def foo : f64 = (3.14159265);"},
{"def foo : f64 = 2.0 * 3.14159265;"}
};
}