language-javascript alternatives and similar packages
Based on the "Language" category.
Alternatively, view language-javascript alternatives based on common mentions on social networks and blogs.
-
elm-compiler
Compiler for Elm, a functional language for reliable webapps. -
purescript
A strongly-typed language that compiles to JavaScript -
stylish-haskell
Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell] -
elm-reactor
Interactive development tool for Elm programs -
haskell-src-exts
Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer -
haskell-tools-ast-gen
Developer tools for Haskell -
haskell-tools-ast-fromghc
Developer tools for Haskell -
liquid-fixpoint
Horn Clause Constraint Solving for Liquid Types -
language-python
A parser for Python 2.x and 3.x written in Haskell -
elm-export
Create Elm types and JSON decoders from Haskell source. -
nirum
Nirum: IDL compiler and RPC/distributed object framework for microservices -
shentong
A Haskell implementation of the Shen programming language. -
tal
An implementation of Typed Assembly Language (Morrisett, Walker, Crary, Glew) -
camfort
Light-weight verification and transformation tools for Fortran -
language-c-quote
C/CUDA/OpenCL/Objective-C quasiquoting library. -
language-rust
Parser and pretty-printer for the Rust language -
language-ecmascript
Haskell library: ECMAScript parser, pretty-printer and additional tools -
fortran-src
Fortran parsing and static analysis infrastructure -
formura
Describe stencil formurae without even translating them -
aterm-utils
Utility functions for working with aterms as generated by Minitermite -
haskell-names
Haskell suite library for name resolution -
homplexity
Haskell code complexity and quality measurement -
ministg
Ministg is an interpreter for a high-level, small-step, operational semantics for the STG machine. -
purescript-tsd-gen
TypeScript Declaration File (.d.ts) generator for PureScript
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of language-javascript or a related project?
README
Parser for JavaScript
Based (loosely) on language-python
Two Versions
There are currently two versions:
0.5 series : Is a continuation of the 0.5.X.Y series, from the master branch of this github repository.
0.6 and 0.7 series : This has a vastly different and improved AST which makes if far more difficult to build an non-sensical Javascript AST. This code is in the new-ast branch of this github repository.
How to build
Make sure your locale supports UTF-8. For example, on most Unix-like platforms, you can type:
export LC_ALL=en_US.UTF-8
Library:
cabal clean && cabal configure && cabal build
Tests:
cabal clean && cabal configure -fbuildtests && cabal build
Running the tests
./dist/build/runtests/runtests
To debug the grammar
happy -iparse.txt -g -a -d src/Language/JavaScript/Parser/Grammar5.y
This generates src/Language/JavaScript/Parser/Grammar5.hs, delete this when done with the debug version
UTF8/Unicode version
Alex 3.0 now supports unicode natively, and has been included as a dependency in the cabal file.
Note: The generation of the lexical analyser has been separated out, to remove the install-time dependency on Alex. If any changes need to be made to the lexer, the Lexer.x source lies in src-dev, and the runalex.sh script will invoke Alex with the appropriate directories.