Oscar Spencer

Results 73 comments of Oscar Spencer

We have constants for these for Float32/64 but not for Number. I think I rather have syntax than add constants to `Number`/`Pervasives`.

Unlike OCaml, Grain only supports operators defined by the language (pending documentation here: https://deploy-preview-301--grain-lang.netlify.app/docs/reference/lexical_structure/operators) and not arbitrary operators, so this is expected. @phated are you suggesting we allow defining infix...

Just to clarify, switching to, say, WAMR, would cause the test to fail because we wouldn't be shelling out anymore (so we'd exit the current process, that being the tests...

We'll want to land https://github.com/grain-lang/grain/issues/1410 before we land this to minimize the effect on compiled modules.

It also looks like typechecking becomes completely broken and the annotation is ignored entirely if you try to resolve types that way (`Int32` != `String`):

@EduardoRFS Yeah, that makes sense, and it works in the cases you'd _actually_ want to use this. I'll close this issue, but we'll open another one to look into enhanced...

Can consider https://github.com/emacsfodder/tmtheme-to-emacs to generate it from the vscode extension.

Update: that project only works for tmThemes, not tmLanguage files. Bummer.

Hey @vkensou, hopefully sometime soon! This would be a breaking change to the language, so potentially in Grain v0.6 which would come near the end of the year.