Skip to content

Embedded Perl #42

@ngoomie

Description

@ngoomie

Perl web framework Mojolicious uses Embedded Perl, which works similarly to the other templating languages covered here (in fact I think it's identical to Embedded Ruby in terms of the tags it has and how it uses them).

More info:

As an aside, I feel like I should also mention that Embedded Perl can also be used with things other than HTML. Personally, I've never seen it used like that yet. I know implementing EP used with things other than HTML is definitely going to be out of scope for this, I just don't know if it might potentially change the way something about the implementation is handled (even if that's just naming it specifically html-ep or something).

And one last thing... ehh, I've never written anything for Tree Sitter and that currently seems totally outside of my realm of experience and skill generally speaking... But here it looks like it could potentially be easy enough that I could do it myself? Is there much else I'd have to do here outside of just creating an injections-ep.scm file with the second injection language set to perl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions