scriggo
scriggo copied to clipboard
all: add support for methods declarations
Has there been any work on this?
Are there any design docs or test code that outside parties could look at to start helping?
Has there been any work on this? Are there any design docs or test code that outside parties could look at to start helping?
Hi @traetox. Currently no, there hasn't been any work on implementing methods. Given that Scriggo is currently mainly used as template engine, this feature was not a priority.
Consider that, currently, there are no design docs about it as the implementation requires an extensive change of almost all components (parser, type checker, emitter, runtime) and therefore requires a deeper study.
As concerns tests, we have updated the CONTRIBUTING.md file, adding indications on how to run the existing tests and how to add new ones.
However, if you have any idea about implementing methods, feel free to discuss them here :blush: