yona-lang / yona

Yona is a modern take on a dynamic general-purpose programming language with advanced functional programming, minimalistic ML-like syntax, strict evaluation, for GraalVM polyglot virtual machine (VM).
https://yona-lang.org/
GNU General Public License v3.0
127 stars 6 forks source link

Introduce ModuleFunctionNamesObject #56

Closed fniephaus closed 4 years ago

fniephaus commented 4 years ago

for exposing functions of modules through interop's getMembers.

Fixes #54

akovari commented 4 years ago

Thanks again, that was really fast!

BTW if you'd like to run local tests, excluding some slower tests, that you don't need most of the time, you could do:

mvn test -DexcludeGroups=slow

I meant to also say that it looks like this fails for this reason:

[ERROR] /home/travis/build/yatta-lang/yatta/language/src/main/java/yatta/runtime/YattaModule.java:[133,48] cannot find symbol
  symbol:   class InvalidArrayIndexException
  location: class yatta.runtime.YattaModule.ModuleFunctionNamesObject
fniephaus commented 4 years ago

Sorry, I was a bit too lazy to clone and test things locally. So I decided to do what's needed using GitHub's editor and missed an import. I'll keep that in mind for the future!

akovari commented 4 years ago

No problem, looks like the threading issue is still not completely resolved :/ I'll have to dig into that as well. This is fine though.