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

froglet in-progress #194

Merged
merged 3 commits into from
Jun 2, 2024
Merged

froglet in-progress #194

merged 3 commits into from
Jun 2, 2024

Conversation

bennn
Copy link
Collaborator

@bennn bennn commented Feb 8, 2023

  • context-sensitive join checks: Tim.father is ok, Tim.father.grad is ok, Tim.Tim is not ok, father.grad is not ok

@tnelson
Copy link
Owner

tnelson commented Mar 31, 2024

@bennn Can we close this PR?

@bennn
Copy link
Collaborator Author

bennn commented Apr 3, 2024

unless someone else picked up froglet, we should merge this!

as-is, it's better than current froglet

of course i'd like to first get the tests passing

froglet: error test for 'negate implies'

froglet: context-sensitive join checks

froglet: field lookup, stop at shadows

froglet: can require from forge, but cannot use

froglet: serialize funtype, fix type=?

froglet: reachable, basic join checks

2+ args
1st arg object
Nth arg field

froglet: reachable again

3+ args: (tgt, src, acc, ...)
 [[ check the docs! ]]
 tgt must be object
 src must be object
 acc must be valid field ... for src alone? for more?

froglet: checkpoint, reachable trans.closure search

froglet, reachable march-forward analysis

stxclass: ~literal to ~datum

froglet: no obj checks for examples, insts

froglet: start checking bridge_crossing

froglet: loosen = typecheck, allow <: or :>

froglet: add paramtypes to current env

tf4: consttype parsing, ifelse delay check

checkpoint

froglet: upgrade pred names to formulas, when 0 args

tf4: fix inst-check outline

tf4: allow 'no x | x.next' etc

tf4: allow bound { field is linear }

froglet: stricter binary op checks

tf4: progress on bridge_crossing, on to pets

tf4: add a srcloc, add stx->mult

tf4: basic reltype, unop #, deparsing

tf4: hide froglet env to allow +2 imports

tf4: +2 binop names

froglet: pred, allow multiplicity on params

froglet: env-fold, use helper for fn return

froglet: parse fun output type

froglet: lookup names in param env

tf4: better ifelse checking

checkpoint
@bennn bennn marked this pull request as ready for review May 31, 2024 19:05
@bennn
Copy link
Collaborator Author

bennn commented May 31, 2024

fixed merge conflicts, commented out lots of failing froglet tests ... let's see if CI passes

@bennn
Copy link
Collaborator Author

bennn commented Jun 2, 2024

Phew CI passes, let's merge.

Next up: uncomment all those froglet tests in error/main.rkt!

@bennn bennn merged commit 54db873 into tnelson:dev Jun 2, 2024
1 check passed
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.

2 participants