X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/42d607127a467ca737dd903ad007d50a54533cf0..8e216a8d5f6b094308594009342e53ef122b8062:/interpretor/lexer.mll?ds=sidebyside diff --git a/interpretor/lexer.mll b/interpretor/lexer.mll index 46ce90d..353712a 100644 --- a/interpretor/lexer.mll +++ b/interpretor/lexer.mll @@ -10,12 +10,11 @@ rule token = parse | "-" { IDENT Sub} | "*" { IDENT Mul} | "/" { IDENT Div} -| "^" { IDENT Power} | "_" { IDENT Pass} | "!" { IDENT Stop} | "&" { IDENT And} | "|" { IDENT Or} -| "xor" { IDENT Xor} +| "^" { IDENT Xor} | "mem" { IDENT Mem} | "@" { IDENT Delay} | "floor" { IDENT Floor} @@ -34,9 +33,9 @@ rule token = parse | "sqrt" { IDENT Sqrt} | "log" { IDENT Ln} | "logten" { IDENT Lg} -| "pow" { IDENT Power} +| "powf" { IDENT Power} | "abs" { IDENT Abs} -| "fmod" { IDENT Fmod} +| "fmodf" { IDENT Fmod} | "%" { IDENT Mod} | "remainder" { IDENT Remainder} | "vectorize" { IDENT Vectorize}