Open dumblob opened 3 years ago
Yes, the syntax is actually much simpler on the current release. This repository is an archive, the language is now being developed here: https://github.com/uwu-tech/kind . Lots of new syntaxes, check SYNTAX.md. And it will get simpler every day
Everything MIT (see LICENSE on the repo above)
We're working in one now! Based on inets. But in our spare time. If you're interested in helping let us know!
Not sure I understand?
We kind have something like that for JS (importing and using a Kind library in JS is as easy as installing a normal JS module). But I'm not that proficient with C. So I'll accept inputs and opinions of these more experienced with the language.
The way we do errors is optionals (i.e., Maybe, Either), and monads really help making them much more manageable and joyful to use. Are you used to Haskell's do notation? Also check the <>
and without
syntaxes on Kind. Simple stuff but really handy. To further improve that we'd probably go in the direction of algebraic effects.
Not sure what you mean, but I think you're talking about holes? For example:
Bool.not(a: Bool): Bool
case a {
true: ?a
false: ?b
}
?a
makes the code check and allow you to fill it later.
@MaisaMilena is it possible to move this issue to Kind?
Newbie here. I'm impressed by the goals (and their actual current state of implementation). Well done!
I'd like to ask some questions (some more dumb, some hopefully less). I might be adding more over time in comments below :wink:.
-prod
build?claim
similar to what I envisioned in https://github.com/zesterer/tao/issues/8#issuecomment-707232679 (as a substitute for C libs being incapable to deliver the proof terms Formality requires) along witheffect
from Koka to cleanly handle the "errors" and all other impure stuff.goto
, I dislike pure functions (because the number of arguments becomes tremendously verbose), but I think theeffect
as in Koka (or the same but slightly disguised in Dylan as outlined in https://github.com/henrystanley/Quark/issues/2#issue-673131403 ) might have some potential (compared to rewriting the whole lib in Formality).sassert
assert
andclaim
from https://github.com/zesterer/tao/issues/8#issuecomment-707232679 which can be added any time later to make the code type check without rewriting & refactoring huge portions of the code).