Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend .builtin syntax to allow for constructed values
This creates an ability to define variables with values that use code to build a value rather than simply allowing a floating point number. The value is specified with '= <poly_expr>', where '<poly_expr>' is any C expression which returns a snek_poly_t value. Signed-off-by: Keith Packard <keithp@keithp.com>
- Loading branch information
1 parent
0df0cf8
commit 680930e
Showing
5 changed files
with
33 additions
and
2 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
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