1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-25 16:45:20 +03:00
juvix/notes/README.md

26 lines
1.0 KiB
Markdown
Raw Normal View History

Tools used so far:
- cabal-edit
- hlint
- stan
- summoner
- ghcup
- See
[gluedeval](https://gist.github.com/AndrasKovacs/a0e0938113b193d6b9c1c0620d853784).
During elaboration different kind of evaluation strategies may be
needed.
- top vs. local scope.
- On equality type-checking, see [abstract](https://github.com/anjapetkovic/anjapetkovic.github.io/blob/master/talks/2021-06-17-TYPES2021/abstract.pdf)
- To document the code, see https://kowainik.github.io/posts/haddock-tips
Initial task order for Minijuvix indicated between parenthesis:
1. Parser (3.)
2. Typechecker (1.)
3. Compiler (2.)
4. Interpreter (4.)
- On deriving stuff using Standalone Der.
See https://kowainik.github.io/posts/deriving.
- To avoid boilerplate in the cabal file, one could use [common stanzas](https://vrom911.github.io/blog/common-stanzas). At the moment, I'm using cabal-edit to keep the bounds and this tool do not support stanzas. So be it.
- Using MultiParamTypeClasses to allow me deriving multi instances in one line.