Skip to content

Commit

Permalink
add builtin functions
Browse files Browse the repository at this point in the history
  • Loading branch information
hatoo committed Feb 15, 2024
1 parent 2550253 commit c32ed4f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/src_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,12 @@ impl SrcTree {
// functions
"map",
"rational",
// bool
"not",
"and",
"or",
"xor",
"=>",
// i64
"+",
"-",
Expand All @@ -375,6 +381,11 @@ impl SrcTree {
">",
"<=",
">=",
"bool-=",
"bool-<",
"bool->",
"bool-<=",
"bool->=",
"min",
"max",
"log2",
Expand Down

0 comments on commit c32ed4f

Please sign in to comment.