Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

tobegit3hub/oh_my_tpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oh My Tpp TravisCI status

Introduction

Oh_my_tpp is the Ruby DSL(Domain Specified Language) for presentation. It's inpired by tpp but more than it. You can write the semantic "code" to present your idea and convert into any type of files you want. It's also a tidy demo for you to how to design a inner domain specified language.

Example

You can write your presentation file like example.omt:

page "oh my tpp" do
  text "The dsl for ppt, inspired by tpp."
  link "https://github.com/tobegit3hub/oh_my_tpp.git"
end

page "syntax" do
  text "the simple text like oh_my_tpp"
  link "the linke like https://travis-ci.org"
  image "the image in https://images.google.com"
  audio "the audio in https://fb.com"
  video "the video in https://www.youtube.com"
end

Then use oh_my_tpp parser to convert it into .tpp file or others. The converted example.tpp looks liek:

--title oh my tpp
text The dsl for ppt, inspired by tpp.
link https://github.com/tobegit3hub/oh_my_tpp.git

--newpage
--title syntax
text the simple text like oh_my_tpp
link the linke like https://travis-ci.org
image the image in https://images.google.com
audio the audio in https://fb.com
video the video in https://www.youtube.com

About

Ruby domain specified language for tpp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published