crhntr / muxt

Generate HTTP Endpoints from HTML Templates
MIT License
0 stars 0 forks source link

Support more template parsing functions #2

Closed crhntr closed 2 months ago

crhntr commented 2 months ago

During generation template constructors are evaluated to find all the routes to register. We do not compile/instrument the provided source. Instead, it parses the source tree and does a best effort evaluation (almost reflection like) run of the template setup.

Out of Scope

The following methods will not be supported likely because the meaning of their arguments are unlikely to be estimated during evaluation.

The paths passed to the following are evaluated relative to the program working directory not relative to the source code.

crhntr commented 2 months ago

Done!