Popularity
1.5
Declining
Activity
0.0
Stable
0
2
0
Monthly Downloads: 6
Programming language: Haskell
License: GNU General Public License v3.0 only
Tags:
Language
haskell-typescript alternatives and similar packages
Based on the "Language" category.
Alternatively, view haskell-typescript alternatives based on common mentions on social networks and blogs.
-
purescript
A strongly-typed language that compiles to JavaScript -
elm-compiler
Compiler for Elm, a functional language for reliable webapps. -
stylish-haskell
Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell] -
haskell-src-exts
Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer -
haskell-tools-ast-fromghc
Developer tools for Haskell -
haskell-tools-ast-gen
Developer tools for Haskell -
elm-export
Create Elm types and JSON decoders from Haskell source. -
language-javascript
Parser for JavaScript, in Haskell -
nirum
Nirum: IDL compiler and RPC/distributed object framework for microservices -
language-python
A parser for Python 2.x and 3.x written in Haskell -
liquid-fixpoint
Horn Clause Constraint Solving for Liquid Types -
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 -
aterm-utils
Utility functions for working with aterms as generated by Minitermite -
language-c-quote
C/CUDA/OpenCL/Objective-C quasiquoting library. -
language-ecmascript
Haskell library: ECMAScript parser, pretty-printer and additional tools -
formura
Describe stencil formurae without even translating them -
language-rust
Parser and pretty-printer for the Rust language -
ministg
Ministg is an interpreter for a high-level, small-step, operational semantics for the STG machine.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
* 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 haskell-typescript or a related project?
README
Haskell-TypeScript
Simple Haskell bindings to the TypeScript compiler, pull requests welcome
cabal update && cabal install haskell-typescript
cat examples/test.ts
interface Person {
firstname: string;
lastname: string;
}
function greeter(person : Person) {
return "Hello, " + person.firstname + " " + person.lastname;
}
var user = {firstname: "Jane", lastname: "User"};
document.body.innerHTML = greeter(user);
module Main where
import TypeScript.Bindings
config :: TypeScript
config = TypeScript Nothing -- If tsc is in your $PATH,
-- Nothing should be used as default settings
main :: IO ()
main = typeScriptCompile ["test.ts"] (Just "js") config
$ cd examples && ghc Main.hs && ./Main
[1 of 1] Compiling Main ( Main.hs, Main.o )
Linking Main ...
ExitSuccess
$ cat js/test.js
function greeter(person) {
return "Hello, " + person.firstname + " " + person.lastname;
}
var user = { firstname: "Jane", lastname: "User" };
document.body.innerHTML = greeter(user);