{"id":16883883,"url":"https://github.com/zbraniecki/jsparagus-ftl","last_synced_at":"2026-04-12T23:48:36.745Z","repository":{"id":138755711,"uuid":"243389897","full_name":"zbraniecki/jsparagus-ftl","owner":"zbraniecki","description":"An FTL experiment for JSParagus","archived":false,"fork":false,"pushed_at":"2020-02-27T00:06:38.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T21:35:19.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zbraniecki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-26T23:46:11.000Z","updated_at":"2020-05-12T07:54:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"303dd812-b75e-41ad-b9fd-c7a7821d6472","html_url":"https://github.com/zbraniecki/jsparagus-ftl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zbraniecki/jsparagus-ftl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbraniecki%2Fjsparagus-ftl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbraniecki%2Fjsparagus-ftl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbraniecki%2Fjsparagus-ftl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbraniecki%2Fjsparagus-ftl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zbraniecki","download_url":"https://codeload.github.com/zbraniecki/jsparagus-ftl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbraniecki%2Fjsparagus-ftl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399608,"owners_count":25980331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T16:14:36.342Z","updated_at":"2025-10-05T01:47:44.380Z","avatar_url":"https://github.com/zbraniecki.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Synopsis\n\nThis is an experiment of using `fluent-rs` lexer branch approach to parsing JavaScript.\n\nIt uses lexer/parser combo, mostly to improve the debugging experience and simplify the\ntokenization phase.\n\nThe appoach is very POC level. Some decisions were made that will have to be revisited like\nusing `Peekable` which makes the `Lexer` opaque. Instead, we could implement peeking inside of `Lexer`\njust like `fluent-rs` does, and then get access to custom methods on the `Lexer` like `take_if` etc.\n\nThe Lexer is also stateless which won't likely cut it, and `fluent-rs` lexer is statefull, so we could adopt that once\nneeded.\n\nGenerally speaking tho, this performance should be similar, for the given `simple` script,\nto what we could end up with for the runtime scenario.\n\n# Usage\n\n```\ncargo run --bin lexer ./benches/simple.js\ncargo run --bin parser ./benches/simple.js\n\ncargo run --bin lexer ./benches/complex.js\ncargo run --bin parser ./benches/complex.js\n\ncargo bench lexer\ncargo bench parser\n\ncargo bench simple\ncargo bench complex\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbraniecki%2Fjsparagus-ftl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzbraniecki%2Fjsparagus-ftl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbraniecki%2Fjsparagus-ftl/lists"}