Skip to content

Temporary copy of grmrts/cl-tisp Default branch is experimental and targets various templating backends

Notifications You must be signed in to change notification settings

enometh/cl-tisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tisp

A small templating engine written in Common Lisp. The goal is to be a basic jinja2-like templating system.

Example

Given a a trivial example of this toml file called person.toml:

[person]
name = "Foo Bar"
alive = true

And some template file template-file.tisp with the following contents:

{{ if person.alive }}
{{ person.alive }} is not dead!
{{ else }}
{{ person.name }} is dead 💀!
{{ end }}

Running the cl-tisp executable should give you the rendered file:

$ tisp render -t person.toml -f template-file.tisp -o rendered-file
$ cat rendered-file
Foo Bar is not dead!

About

Temporary copy of grmrts/cl-tisp Default branch is experimental and targets various templating backends

Resources

Stars

Watchers

Forks