esprima VS gaiman

Compare esprima vs gaiman and see what are their differences.

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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
esprima gaiman
8 16
6,962 131
0.0% -
0.0 5.0
about 1 year ago about 1 month ago
TypeScript JavaScript
BSD 2-clause "Simplified" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

esprima

Posts with mentions or reviews of esprima. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-07.
  • ESLint: under the hood
    4 projects | dev.to | 7 Nov 2023
    Focusing again on ESLint, the parser used by the linter is called Espree. This is an in-house parser built by the ESLint folks to fully support ECMAScript 6 and JSX on top of the already existing Esprima. The Espree module provide APIs for both tokenization and parsing that you can easily test out.
  • Why you don’t need TypeScript
    1 project | /r/typescript | 19 May 2023
    For TypeScript we have used AST transforms from their compiler API, and for plain JavaScript we did a similar thing using ESPrima. This helped us implement some simple optimizations like stream fusion (combining .filter and .map into a single operation) or avoiding extra object allocations in vector math, which led to nice performance improvements in code that does heavy computation (we process large amounts of data on the server and store results of physics simulations).
  • Algorithm to simplify a 100-variable Boolean expression?
    1 project | /r/algorithms | 4 Jun 2022
    I used ESPrima, but any parser would do in this case. I then wrote a simple function to extract all "atomic" non-boolean expressions from it.
  • How to make your own programming language in JavaScript
    6 projects | dev.to | 7 May 2022
    AST is an acronym for Abstract Syntax Tree. It's the way to represent code in a format that tools can understand. Usually in form of tree data structure. We will use AST in the format of an Esprima, which is a JavaScript parser that outputs AST.
  • What the heck is an Abstract Syntax Tree (AST) ?
    5 projects | dev.to | 23 Apr 2022
    esprima
  • Abstract Syntax Trees: They're Actually Used Everywhere -- But What Are They?
    4 projects | dev.to | 17 Nov 2021
    Create an AST: Esprima
  • We Switched from Webpack to Vite
    15 projects | news.ycombinator.com | 28 Apr 2021
    The thread was originally about CRA vs Vite size on disk (or implicitly, if we're applying it to real world applications, network cost in CI job startup times). And like I said, surrogate pairs don't apply to ASCII.

    See this[0] for reference. Note how the first byte must fall within a certain range in order to signal being a surrogate pair. This fact is taken advantage of by JS parsers to make parsing of ASCII code faster by special casing that range, since checking for a valid character in the entire unicode range is quite a bit more expensive[1].

    [0] https://github.com/jquery/esprima/blob/0911ad869928fd218371b...

    [1] https://github.com/jquery/esprima/blob/0911ad869928fd218371b...

  • How to create your own language that compile to JavaScript
    3 projects | /r/javascript | 15 Apr 2021
    If you want to learn more about parsing, reading the code of an actual recursive parser might be a better idea. Esprima is a decent place to start if you're interested in JS grammar. Then you can look at the babel handbook to learn more about AST transformations. From there, the literature gets quite a bit more heavy. If you get this far and are willing to push further, you'll probably want to grab yourself a copy of the dragon book at a minimum.

gaiman

Posts with mentions or reviews of gaiman. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-03.
  • Gaiman: Programming language for text-based games in browser
    1 project | /r/programming | 22 Jan 2023
    6 projects | /r/programming | 19 Jun 2022
  • How to create interactive terminal like website with JavaScript?
    4 projects | dev.to | 3 Jul 2022
    When I was working on one paid git I’ve come up with a kind of engine that was driven by a JSON file. It was a kind of interactive game or very poor text adventure game. I’ve asked the person for whom I created this project if I can publish the game so others can use it. It was very cool. Later I came up with something even better. My own programming language that compiles into JavaScript. The project is in Beta version and I still need to work on the playground and documentation. You can check it out. Here is Gaiman’s GitHub repo. If you want to create a complex project with user interaction, it may be easier to do this with Gaiman, since it simplifies things. The same code in JavaScript will be much more complex.
  • Gaiman: Programming language which compiles into JavaScript for text-based games in browser
    1 project | /r/javascript | 20 Jun 2022
    1 project | /r/javascript | 20 Jun 2022
  • Show HN: Gaiman language for Web-based Terminal applications
    1 project | news.ycombinator.com | 5 Jun 2022
    I've created programming language based on Ruby that simplifies creating Terminal text-based games and applications in the browser. I've released first 1.0 beta version, but I'm still adding features and fixing bugs. I yet need to add more documentation and improve Gaiman playground.

    The repo for the language can be found on GitHub: https://github.com/jcubic/gaiman the only documentation so far is the Wiki with Reference manual https://github.com/jcubic/gaiman/wiki/Reference-Manual

  • June 2022 monthly "What are you working on?" thread
    9 projects | /r/ProgrammingLanguages | 1 Jun 2022
    I've released the first 1.0 beta version of Gaiman. I'm doing small tweaks but it seems that all language features are there. But I need to improve code coverage so I know that everything is tested. And I need to stress test a bit my parser so I know that odd syntax combinations works.
  • First 1.0.0 beta version of Gaiman programming language
    1 project | /r/ProgrammingLanguages | 25 May 2022
    I've just published the first beta version of Gaiman 1.0 to NPM.
  • How would you handle parallel execution of two branches of code?
    1 project | /r/ProgrammingLanguages | 19 May 2022
    in Gaiman language that compiles to JavaScript, I have syntax like this:
  • How to make your own programming language in JavaScript
    6 projects | dev.to | 7 May 2022
    I've wanted to have my own programming language, that will make it easier to create text-based adventure games for my Open Source project jQuery Terminal. The idea for the language came after I've created a paid gig for one person, let's call him Ken, that needed this type of game, where the user interacted with the terminal and was asked a bunch of questions and it was like an adventure game, related to Crypo. The code I've written, that Ken needed, was data-driven by a JSON file. It was working nicely, Ken could easily change the JSON and have the game changed however he wanted. I've asked if I could share the code since it was a very cool project and Ken agreed that I can do that two months after he publish the game. But after a while, I've realized that I can have something much better. My own DSL language, that will make it simpler to create text-based adventure games. A person with a bit of programming knowledge like Ken, could easily edit the game, because the language will be much simpler than complex JavaScript code that is needed for something like this. And even if I would be asked to create a game like the one for Ken, it would be much easier and faster for me. This is how Gaiman programming language has started.

What are some alternatives?

When comparing esprima and gaiman you can also consider the following projects:

estree - The ESTree Spec

star - An experimental programming language that's made to be powerful, productive, and predictable

babel-handbook - :blue_book: A guided handbook on how to use Babel and how to create plugins for Babel.

The-Spiral-Language - Functional language with intensional polymorphism and first-class staging.

estraverse - ECMAScript JS AST traversal functions

calypso - Calypso is a mostly imperative language with some functional influences that is focused on flexibility and simplicity.

esbuild-loader - Webpack loader for esbuild: Speed up your build ⚡️

yasl - Bytecode Interpreter for Yet Another Scripting Language (YASL).

escodegen - ECMAScript code generator

CSLY - a C# embeddable lexer and parser generator (.Net core)

vite-plugin-vue2 - Vue2 plugin for Vite

processing - Source code for the Processing Core and Development Environment (PDE)