aboutsummaryrefslogtreecommitdiff
path: root/src/js_lexer.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-13move more thingsGravatar Jarred SUmner 1-1/+1
2022-12-30More assertionsGravatar Jarred Sumner 1-1/+1
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-4/+4
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-12-11Update WebKitGravatar Jarred Sumner 1-2/+2
cc @cirospaciari you will need to re-download the precompiled WebKit build from the releases page https://github.com/oven-sh/WebKit/releases/tag/dec11 because there is one small WebKit API change. LMK if you have any trouble with that
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-2/+2
2022-11-21specific error for invalid flag, correct position' (#1537)Gravatar Dylan Conway 1-2/+9
'
2022-11-07Fix newline normalizationGravatar Jarred Sumner 1-5/+6
credit: @Validark
2022-11-06chore: remove space lookalike (#1465)Gravatar Carter Snook 1-1/+1
2022-10-24oniguruma regex lookbehind and multibyte hex fix (#1363)Gravatar Dylan Conway 1-3/+3
* handle multibyte hex characters * non extended strings used for toString() and source * add hasIndices flags * more tests for lookbehinds, unicode, and hex characters * handled case when hex doesnt have enough digit, more tests * fix adding characters out of bounds * backslash in character class * compile() returns object * escape special characters in oniguruma character class
2022-08-17New Zig <> C++ bindings generator. +20% faster HTTP serverGravatar Jarred Sumner 1-2/+1
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-11/+11
2022-05-11[json] Fix bug with negative integers in json parserGravatar Jarred Sumner 1-3/+6
2022-05-05E.String gets a RopeGravatar Jarred Sumner 1-4/+6
2022-03-0969% perf improvement for long string literalsGravatar Jarred Sumner 1-11/+11
2022-03-0910% perf improvement to JSX entity code parsing in microbenchmarkGravatar Jarred Sumner 1-2/+1
2022-03-09fix bug with UTF-16 template literal escape codesGravatar Jarred Sumner 1-6/+6
2022-03-07[JS] Don't make this inlineGravatar Jarred Sumner 1-2/+2
2022-03-07[JS] Slight optimization for newlinesGravatar Jarred Sumner 1-36/+2
2022-03-07[JS Parser] Fix bug with decoding escape sequencesGravatar Jarred Sumner 1-4/+4
2022-03-07[JS/JSON] Optimize parsing long stringsGravatar Jarred Sumner 1-1/+37
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-0/+8
2022-03-01cleanupGravatar Jarred Sumner 1-2/+2
2022-02-27WASMGravatar Jarred Sumner 1-2/+14
2022-02-27Fix https://github.com/Jarred-Sumner/bun/issues/115Gravatar Jarred Sumner 1-5/+0
2022-02-27[JS Parser] Fix bug with unicode identifiersGravatar Jarred Sumner 1-29/+140
2022-02-16[JS Lexer] Fix incorrect assertionGravatar Jarred Sumner 1-3/+3
2022-02-16[JS Parser] Add error when RegExp has duplicate flagGravatar Jarred Sumner 1-0/+14
2022-02-15[internal] workaround https://github.com/ziglang/zig/issues/10903Gravatar Jarred Sumner 1-1/+32
2022-02-14[bun.js] Handle recursive macros and handle stack overflowGravatar Jarred Sumner 1-0/+3
2022-01-28Implement TOML parserGravatar Jarred Sumner 1-0/+1
No Date/DateTime/Time/Local Time yet
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-24/+31
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-27Prepare to run unit tests & remove some dead code (#92)Gravatar Jarred Sumner 1-1/+0
* Remove some dead code * :skull: code * Fix the zig tests * [JS Printer] Print integers faster & less scientific notation on decimals * :skull: dead code * skip * Run all the unit tests
2021-11-11[JSON Parser] Improve perf by 2%-4%Gravatar Jarred Sumner 1-0/+2
We warn when a JSON object has duplicate keys, but detecting duplicate keys has a cost. Now the hash table used for deduping keys is pooled instead of reallocated each time This also removes a call to potentially resize object properties and arrays to their smallest possible size. Resizing an array can be expensive
2021-11-04[JS Parser] Print � for invalid WTF-8 inputGravatar Jarred Sumner 1-165/+169
2021-11-04[JSX] Match esbuild behavior for multiline JSX string literalsGravatar Jarred Sumner 1-32/+47
2021-11-03[JSX] Fix regression with JSX entitiesGravatar Jarred Sumner 1-6/+18
2021-10-30Fixes #34Gravatar Jarred Sumner 1-10/+56
2021-10-30[lexer] Fix crash on legacy octal literalsGravatar Jarred Sumner 1-1/+1
2021-10-25Fix JSX unicode handling, slightly improve perfGravatar Jarred Sumner 1-115/+37
2021-10-25Fix all known string encoding bugsGravatar Jarred Sumner 1-19/+22
2021-10-24[internal] Remove more unused code and move the `is_ascii_only` boolean to ↵Gravatar Jarred Sumner 1-28/+7
only update for JSON parsing
2021-10-24:scissors: Dead codeGravatar Jarred Sumner 1-4/+0
2021-10-24[internal] more inliningGravatar Jarred Sumner 1-2/+2
2021-10-23Remove very outdated testsGravatar Jarred Sumner 1-128/+23
2021-10-23[Lexer] Improve lexing performance by 2% via a bitfield for checking ↵Gravatar Jarred Sumner 1-2315/+2304
identifiers, inlining functions, and moving some branches to comptime
2021-10-21[lexer] `0x200C` and `0x200D` are valid ID_Continue charactersGravatar Jarred Sumner 1-6/+29
2021-10-20rewrote most of the routerGravatar Jarred Sumner 1-0/+13
2021-10-18Starting to rewrite the router to fix some bugs and support catch-all + ↵Gravatar Jarred Sumner 1-1/+1
optional routes
2021-09-30Fix edgecase with parsing .envGravatar Jarred Sumner 1-1/+1
2021-09-26Most of macro implementationGravatar Jarred Sumner 1-0/+10