jroesch opened a new pull request #5932:
URL: https://github.com/apache/incubator-tvm/pull/5932


   This PR implements a pure C++ parser for Relay's text format and starts to 
lay ground work for improved error reporting and full program parsing work that 
I will send an RFC for sometime next week. The goal is to remove the external 
dependency on ANTLR and make it easier for non-parsing experts to make simple 
modifications or tweaks to the parser. 
   
   I have implemented nearly all the expression and definition parsing, I have 
some remaining work to do on parsing types and ensuring end to end examples are 
working. I am opening the PR now in draft form to solicit some initial 
feedback. 
   
   ### Features
   - [ ] graph definitions and variables
   - [ ] comments
   - [ ] integer literals 
   - [ ] float literals
   - [ ] boolean literals 
   - [ ] unary operations
   - [ ] binary operations 
   - [ ] parens 
   - [ ] operator table an operator precedence 
   - [ ] let bindings 
   - [ ] sequencing 
   - [ ] tuple expressions
   - [ ] function literals 
   - [ ] top-level global functions
   - [ ] recursive calls
   - [ ] if-then-else
   - [ ] function calls 
   - [ ] incomplete types 
   - [ ] builtin types 
   - [ ] tuple types 
   - [ ] adt definitions
   - [ ] match expression 
   - [ ] extern types 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to