hexaredecimal / ML

A small general purpose programming language for programming on the JVM. Package manager: https://smllregistry.github.io/
https://smllang.gitbook.io
Apache License 2.0
11 stars 1 forks source link

Lifting java types using type aliases #9

Closed hexaredecimal closed 2 months ago

hexaredecimal commented 2 months ago

I am planning on adding a feature which allows the programmer to lift types from java using the type alias mechanism. This is how it should roughly work.

type Window = "JWindow" (* This will allow us to create bindings for external libraries *)

Type aliases will work hand-in-hand with functions that use the java block as a way to case effects to the state of the application

hexaredecimal commented 2 months ago

Gui bindings are now working (sort of). Type aliases are the culprit, they were finally implemented.