2,736
edits
Red Leader (talk | contribs) m (Update {{func link}} form) |
|||
| Line 137: | Line 137: | ||
:::Hi Gijs, | :::Hi Gijs, | ||
:::Here's the code for a Nasal lexer. Be warned, it's thoroughly untested, but has the following features: | :::Here's the code for a Nasal lexer. Be warned, it's thoroughly untested, but has the following features: | ||
:::* Full support for all three string types (backtick, single quote, and double quote), including escapes and formatting strings (e.g., for {{func link|sprintf}}). | :::* Full support for all three string types (backtick, single quote, and double quote), including escapes and formatting strings (e.g., for {{func link|sprintf()}}). | ||
:::* All kinds of numbers, including numbers in scientific notation and octal and hex numbers. | :::* All kinds of numbers, including numbers in scientific notation and octal and hex numbers. | ||
:::* All global functions and variables as of FG v2016.1.1. | :::* All global functions and variables as of FG v2016.1.1. | ||