Skip to content

glyh/wyah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Write You a Haskell implemented in OCaml

Rationale

Not everyone is familiar or like the syntax and semantic of Haskell, as to write anything useful, you basically have to learn a whole bunch of concepts.

However, studying the underlying mechanics of a Haskell compiler is still valuable, as its architecture is vastly different from what I would like to call "everyday compilers". For that specific reason, I would like to revive the project "Write You a Haskell" by Stephen Diehl, but I want to have it implemented in a language that is closed to compiler writers and more generally everyday programmers.

Requirements

  • Opam

Building

  • Clone the repo and init the switch
git clone https://github.com/glyh/wyah
cd wyah
opam switch create . --deps-only --with-test -y
  • For developing, you may want to have LSP and other stuffs available
opam install --switch=. -y ocamlformat ocaml-lsp-server utop
  • Update the environment, for example if you're on bash:
eval $(opam env)
  • Build and run the package
dune exec wyah

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages