Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types #140

Merged
merged 33 commits into from
Sep 4, 2018
Merged

Types #140

merged 33 commits into from
Sep 4, 2018

Conversation

ravichugh
Copy link
Owner

Work-in-progress. A bunch of the bidirectional rules are implemented, and a basic Ace/Deuce types UI is set up.

until Deuce transformations are made to work with AST changes,
setting DeuceTools.toolList = []
moving `SynthesisResult, Predicate, and DeuceSelections/Transformation/Tool`
to facilitate the dependency chain: `Model <-- Examples <-- Types2` (to come)
to start, handling:
 - EConst / EBase
 - EColonType
 - ELet: equations being checked separately, not yet in scope for body

adding Ace error annotations on lines with type errors
highlight the expression that required the expected type
Conflicts:
	build/out/main.css
	src/Deuce.elm

NOTE: hoveredWidgets is being stored in Deuce.CodeInfo again,
which is probably going to be a performance issue like before.
Need to rely on CSS to style hover.
Conflicts:
	src/DeuceTools.elm
	src/Lang.elm

A few easy fixes.
Conflicts:
	src/Deuce.elm
	src/DeuceTools.elm
	src/DeuceWidgets.elm
Conflicts:
	src/ElmParser.elm
	src/FastParser.elm
	src/UpdateUtils.elm

makeExp_

unExpr
forall types / type functions stuffed into whitespace, e.g.,

  {- forall a b -} a -> b -> a
all "Things" (Exps/Pats/Types), not just Exps, will have fields
to stuff info through the Deuce type UI
Conflicts:
	src/Types.elm
@ravichugh ravichugh merged commit 26d0a64 into dev Sep 4, 2018
@ravichugh ravichugh deleted the types branch September 4, 2018 18:53
@ravichugh ravichugh restored the types branch September 14, 2018 14:48
@ravichugh ravichugh deleted the types branch September 14, 2018 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant