First upload version 0.0.1
This commit is contained in:
6
node_modules/node-llama-cpp/llama/grammars/arithmetic.gbnf
generated
vendored
Normal file
6
node_modules/node-llama-cpp/llama/grammars/arithmetic.gbnf
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
root ::= (expr "=" ws term "\n")+
|
||||
expr ::= term ([-+*/] term)*
|
||||
term ::= ident | num | "(" ws expr ")" ws
|
||||
ident ::= [a-z] [a-z0-9_]* ws
|
||||
num ::= [0-9]+ ws
|
||||
ws ::= [ \t\n]*
|
||||
Reference in New Issue
Block a user