arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
673 stars 29 forks source link

Introduce `.public` methods #1613

Closed drkameleon closed 2 months ago

drkameleon commented 2 months ago

Description

The goal of this PR is to enable us to annotate a given method as .public (to be read as: "exportable"/accessible from the outside).

Not sure if/when this will be enforced on a user-type level (types defined by the user) - at least, yet - but it could most definitely be used in a future module function implementation. 🚀

Type of change

drkameleon commented 2 months ago

Ready to merge! 🚀