#Eyg a language and structured editor built using gleam

1 messages · Page 1 of 1 (latest)

wooden sonnet
#

https://vimeo.com/833330371/9aeaa64b46

Time for a dedicated thread, this is my latest update for my language. Features of the language are.

  • Exhaustive typing, so a type checked program will never crash
  • Structural (not nominal typing), so there is never any need to write a type declaration
  • Effect types, built using row types. Row types are also used for Records and Unions
  • No syntax, there is no parser the public interface to the language is a json format of the AST.

previous talks are available here https://petersaxton.uk/log/

This is "05/06/2023, Features of the structured editor" by crowdhailer on Vimeo, the home for high quality videos and the people who love them.

▶ Play video
wooden sonnet
#

Pretty much all the features of the editor are now working as I would like. Type inference works on every key press again.
https://eyg.run/
If you look at the "No type declaration" example click on the hole (red) press t for tagged and type Some. While the letters are being typed you get a red underline and the arg is unknow. But adding the last e resolves both immediately.

wooden sonnet
wooden sonnet
#

Shallow effect handlers, need to be recursively added (use of std.fix) but allow handlers to be stateful. i.e. count returns the number of times it has previously been called.

wooden sonnet
wooden sonnet
wooden sonnet
wooden sonnet
wooden sonnet
wooden sonnet
wooden sonnet
#

Only 150 lines of code for implementing effects

wooden sonnet
wooden sonnet
tacit rapids
#

@wooden sonnet did you delete your access token 😅

wooden sonnet
#

@tacit rapids I did

tacit rapids
#

I don't know enough to comment on any of this stuff, but I just wanted to let you know that I watch these and enjoy them 🙂

wooden sonnet
#

got cozo db integrated

pastel valve
#

This is very interesting, are the effects like algebraic effects or?

#

I’m also super curious about your datalog/actor stuff

wooden sonnet
#

They are algebraic effects, probably closest to what koka is doing?

#

The other stuff, well I'll keep posting videos. I'm messing with compilers atm but I think I will get back to datalog stuff pretty soon after that

pastel valve
#

I’m keenly interested in distributed logic programming so your stuff is quite fascinating.

wooden sonnet
#

Also I'm thinking of sharing these in less places soon. probably just a mailing list so if anyone would like to stay fully up to date and want's to send me their email address that's probably how I'll be sending stuff soon.

#

Maybe not immediately because I'm writing a mailing list manager in EYG

pastel valve
wooden sonnet
#

I'm experimenting with trying to spend less time online and would like to automate sending out the update. maybe I'll write a script that publishes to discord. but also maybe i wont

pastel valve
#

gotcha

wooden sonnet
#

Posting here because I didn't get round to building a mailing list

wooden sonnet
wooden sonnet
wooden sonnet
wooden sonnet