xo-expression: initial commit (constant + primitive)
This commit is contained in:
commit
2d94fd51bf
17 changed files with 544 additions and 0 deletions
14
example/ex1/ex1.cpp
Normal file
14
example/ex1/ex1.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/** @file ex1.cpp **/
|
||||
|
||||
#include "xo/expression/Constant.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int
|
||||
main() {
|
||||
using xo::ast::make_constant;
|
||||
|
||||
auto expr = make_constant(7);
|
||||
}
|
||||
|
||||
|
||||
/** end ex1.cpp **/
|
||||
Loading…
Add table
Add a link
Reference in a new issue