lily/src/main.cpp

12 lines
220 B
C++
Raw Normal View History

2019-06-04 20:45:06 -07:00
#include "ast.hpp"
#include "pattern.hpp"
#include "parser.hpp"
int main() {
try {
lily::parse("defn add x y = { x + y }");
} catch(lily::error& e) {
std::cout << e.message << std::endl;
}
}