-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement parsing of user-defined functions
Summary: This diff implements only the parsing part of user-defined functions. The renderer currently rejects them and support for them will be added in a future diff. The change here adds in a new kind of `function_call` in the AST called `user_defined`. User-defined functions are accessed via a `variable_lookup`. Additionally, names are changed to match nomenclature used in the spec (builtin), and error messages have been updated to be more consistent with others. Reviewed By: createdbysk Differential Revision: D67587583 fbshipit-source-id: 12ba36ff8153b2bf751ea4f0568cd2b6f3aba8bc
- Loading branch information
1 parent
5185cb7
commit 0275e50
Showing
7 changed files
with
362 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.