scriggo icon indicating copy to clipboard operation
scriggo copied to clipboard

all: add support for methods declarations

Open zapateo opened this issue 6 years ago • 2 comments

zapateo avatar Nov 15 '19 11:11 zapateo

Has there been any work on this?

Are there any design docs or test code that outside parties could look at to start helping?

traetox avatar Sep 28 '21 15:09 traetox

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:

zapateo avatar Sep 29 '21 08:09 zapateo