Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.84 KB

README.md

File metadata and controls

49 lines (40 loc) · 1.84 KB

sNCL

sNCL (simple NCL) is a DSL (Domain Specific Language) to ease the creation of interactive multimedia applications based on NCL (Nested Context Language).
After creating a program using sNCL, you can compile it to NCL and run it using the Ginga middleware.

Please, go to the language documentation page to find out details about the language, and the installation and program execution procedures. Here, just to give you a taste of the language, the following source code shows a simple example that plays two videos in sequence:

port media video1
  src: "video2.mp4"
  bounds: "0,0,100%,100%"
end
media video2
  src: "video2.mp4"
  bounds: "25%,25%,50%,50%"
end

onEnd video1 do
  start video2 end
end

Requirements:

More information:

Other useful links:


Copyright (C) 2016-2017 UFMA/TeleMídia-MA

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the "GNU Free Documentation License" file as part of this distribution.