gimlh alternatives and similar packages
Based on the "Language" category.
Alternatively, view gimlh alternatives based on common mentions on social networks and blogs.
-
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 -
nirum
Nirum: IDL compiler and RPC/distributed object framework for microservices -
tal
An implementation of Typed Assembly Language (Morrisett, Walker, Crary, Glew) -
language-ecmascript
Haskell library: ECMAScript parser, pretty-printer and additional tools -
ministg
Ministg is an interpreter for a high-level, small-step, operational semantics for the STG machine. -
aterm-utils
Utility functions for working with aterms as generated by Minitermite
Learn any GitHub repo in 59 seconds
* 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 gimlh or a related project?
README
gimlh
Haskell parser for GIML.
Install
cabal install gimlh
Usage
import Gimlh
getGiml :: FilePath -> IO SimpleGiml
getGiml path = do
giml <- parseFile path
let simplified = simplifyGiml giml
return simplifyGiml
Documentation
There are three methods: parseString
, parseFile
and simplifyGiml
parseString
will parse GIML
from pure string.
parseFile
accepts FilePath
and parses it into IO Giml
simplifyGiml
translates parsed GIML
in simply form SimplyGiml
fetch
fetch values from simplified giml by given key
fetchG
fetch values from giml by given key
val2Str
retruns values stored in GIML in string representation
val2List
retruns values stored in GIML in list of string representation
Giml
- is a type which contains list of GimlNode
s
SimplyGiml
- is a list of tuples (String, GimlVal)
== (key, value)
GimlNode
- is a tuple (String, GimlType, GimlVal)
GimlVal
- can be one of four types: Text String | List [String] | Number Integer | Float Double
GimlType
- types for GimlVal
stored in GimlNode
. Can be TextG | ListG | NumberG | FloatG