summaryrefslogtreecommitdiff
path: root/jslex.c
AgeCommit message (Expand)Author
2023-01-04Merge the small private header files into jsi.hTor Andersson
2020-06-25Fix typo in lexlinecomment where it did not detect EOF properly.Tor Andersson
2020-05-27Support embedded 0 in strings by using modified UTF-8.Tor Andersson
2019-03-22Add repr() function to shell, and use it in the REPL.Tor Andersson
2019-01-23Bug 697891: Parse all JSON string escapes.Tor Andersson
2017-04-03Be stricter when parsing JSON strings.Tor Andersson
2017-04-03Fix JSON number parsing.Tor Andersson
2016-11-17Silence gcc 6 indentation warning.Tor Andersson
2016-10-31Fix 697244: Check for incomplete escape sequence at end of input.Tor Andersson
2016-09-20Fix bug 697136.Tor Andersson
2015-01-05Deoptimize isalpha macro due to potential overflow errors.Tor Andersson
2015-01-02Rename next/accept/expect macros in lexer and parser.Tor Andersson
2014-10-28Fix JSON parsing problems:Tor Andersson
2014-10-13Optimize isalpha/digit macros in lexer.Tor Andersson
2014-10-09Allow unescaped / inside classes in regular expression tokens.Tor Andersson
2014-09-24Strip backslash from escaped / when lexing regular expressions.Tor Andersson
2014-09-22Optimize lexnumber when using strtod.Tor Andersson
2014-09-01Add portable strtod implementation.Tor Andersson
2014-03-12Use strtod when lexing numbers.Tor Andersson
2014-02-28Handle malloc failure by throwing exceptions.Tor Andersson
2014-02-26Move nelem() macro into jsi.hTor Andersson
2014-02-25Remove more dead code.Tor Andersson
2014-02-25Some -pedantic warning fixes.Tor Andersson
2014-02-24Fix signed/unsigned comparison warnings.Tor Andersson
2014-02-14Fix bug in comment lexing.Tor Andersson
2014-02-11Clean up for one.c compilation.Tor Andersson
2014-02-10JSON.parse()Tor Andersson
2014-02-05Calculate exponent the same way as fractions for symmetry in the lexer.Tor Andersson
2014-02-05Fix typo in CR/LF handling in lexer.Tor Andersson
2014-01-28Rename non-js utility sources to not have the 'js' prefix.Tor Andersson
2014-01-22Add prefixes and remove duplicate functions.Tor Andersson
2014-01-21Make jsY_error return void (as it is a noreturn function).Tor Andersson
2014-01-20Clean up error object creation and throwing functions.Tor Andersson
2014-01-20Split header into js.h public and jsi.h private. Start cleaning upTor Andersson
2014-01-18Don't pass pointless 'sp' pointer throughout lexer now that we useTor Andersson
2014-01-18Simplify newline tests since we normalize line endings in next().Tor Andersson
2014-01-18Handle \uXXXX escapes in identifiers.Tor Andersson
2014-01-18Parse UTF-8 source text.Tor Andersson
2014-01-18Fix bug in number parsing.Tor Andersson
2014-01-18Rewrite lexer to use a proper lookahead token.Tor Andersson
2014-01-18Save line number where the token starts for improved error messages.Tor Andersson
2014-01-16Clean up. Rearrange files. Rename functions.Tor Andersson
2014-01-14Implement value stack and use it in the interpreter.Tor Andersson
2014-01-12Improve naming of macros in lexer.Tor Andersson
2014-01-11Track newlines properly.Tor Andersson
2014-01-11Improve regexp context detection.Tor Andersson
2014-01-11Count lines in block comments as well.Tor Andersson
2014-01-11Check future reserved words in parser to allow them as IdentifierName tokens.Tor Andersson
2014-01-11Preserve regexp flags. Escape more characters when dumping strings.Tor Andersson
2014-01-10Rename files and put stuff in the correct headers.Tor Andersson