JavaScript Lexer

Open-source JavaScript projects categorized as Lexer

Top 6 JavaScript Lexer Projects

  • csstree

    A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations

  • Project mention: Building a lightweight CSS formatter | dev.to | 2023-06-12

    After thinking about the problem for a while I realised that I could enlist the help of CSSTree to do some of the work. The CSS Analyzer is based on CSSTree's AST, so I know how the thing works and the dependency is already on the page, so no need to download more dependencies. Prettier + Postcss cost almost 340kB to download, which isn't huge, but it would be nice if we could reduce that amount.

  • moo

    Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo. (by no-context)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • php-parser

    :herb: NodeJS PHP Parser - extract AST or tokens (by glayzzle)

  • lexer

    A lexical analyzer based on DFA that is built using JS and supports multi-language extensions / 一个基于DFA的支持多语言扩展的JS版开源词法分析器

  • ParseJS

    A simple tokenizer I made for JS while making a project that required tokens.

  • oo-lang

    The OO programming language

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Lexer related posts

Index

What are some of the best open-source Lexer projects in JavaScript? This list will help you:

Project Stars
1 csstree 1,835
2 moo 802
3 php-parser 513
4 lexer 323
5 ParseJS 7
6 oo-lang 1

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com