Skip to content

kpmy/ot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

object template (ot)

Build Status

Язык описания и шаблонизации объектов (об идее)

Wiki

Object description/template language

o.t. is when this

<note status="saved">
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>

becomes this

note:
  status :: saved;
  to: "Tove";
  from: "Jani";
  heading: 'Reminder';
  body: `Don't forget me this weekend!`;
;

TODO

  • служебный блок context с данными пользователя
  • модульность шаблонов, include-фичу
  • схема/валидация (relaxng прикрутить можно, но лень)
  • пути (примитивные)
  • сериализация/десериализация
  • встроить leaf/lomo
  • генератор текстового представления o.t.
  • рбнф языка

Итоги

Всё хорошо.

About

Object template language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages