Conversation
|
We should actually see why math.h is even included and clean that up. |
|
Also we use '_' prefixx for conflicts (like _EOF). So let's follow that practice if it is really needed. But I would like to remove useless includes and get rid of this error |
ac7ed3b to
e3b59fc
Compare
|
@kaikalur I looked at the clang verbose output and the math library is not being included explicitly. It's probably part of the clang runtime. |
|
No runtime should not matter. I think the issue is in main.cc where we include file.h |
|
@kaikalur removing |
e3b59fc to
9270f2b
Compare
|
@kaikalur I replaced |
9270f2b to
77e951c
Compare
|
This code was a couple of weekend hacking back in 2020 lol so it's quality shows. Grammar/AST part should be decent though. So feel free to fixup the code the way you see fit. |
|
I just added a makefile that separates the main from the parser library. If you can setup a buck build or cmake that will be great :) |
|
@kaikalur I will be adding some CMake build files later. The background is that we want to use the parser here to parse expressions in Velox tests. See the discussion here: facebookincubator/velox#5589 |
|
I invoked |
We can add methods like ParseExpression to ParserClient class that I just started working on: |
@kaikalur Sounds good! I am not a Meta employee. So I cannot access your link. But I think we are aligned on the goal here. |
On MacOS, I see the following error when building.