Create my own template engine?

Hi all

I'm trying to create my own template engine, but sadly I couldn't find
much information on how to start.

Where can I find such informations? I need infos on...

- How to "register" a file extension for being parsed with my template
engine
- What are the basics of template engines?
- What is a "best practice" for parsing code with my own rules?

Thanks a lot for informations,
Josh

Hi all

I'm trying to create my own template engine, but sadly I couldn't find
much information on how to start.

Where can I find such informations? I need infos on...

- How to "register" a file extension for being parsed with my template
engine
- What are the basics of template engines?
- What is a "best practice" for parsing code with my own rules?

Maybe look at the haml plugin? They'll have needed most of that.

Why not download Liquid and just look at the source?