🚀 add operator ^= &= |=

fix bug of parsing expressions beginning with floater
This commit is contained in:
ValKmjolnir
2023-02-28 00:30:27 +08:00
parent cdfb8d2e32
commit 034085e6cb
14 changed files with 214 additions and 104 deletions

View File

@@ -32,14 +32,14 @@ std::ostream& help(std::ostream& out) {
#endif
<<"\nnasal <option>\n"
<<"option:\n"
<<" -h, --help | get help.\n"
<<" -h, --help | get help.\n"
<<"\nnasal [option] <file> [argv]\n"
<<"option:\n"
<<" -a, --ast | view abstract syntax tree.\n"
<<" -c, --code | view bytecode.\n"
<<" -e, --exec | execute.\n"
<<" -t, --time | show execute time.\n"
<<" -d, --detail | get detail info.\n"
<<" -a, --ast | view abstract syntax tree.\n"
<<" -c, --code | view bytecode.\n"
<<" -e, --exec | execute.\n"
<<" -t, --time | show execute time.\n"
<<" -d, --detail | get detail info.\n"
<<" -dbg, --debug | debug mode.\n"
<<"file:\n"
<<" <filename> | execute file.\n"