mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
wip: examples for the edn rendering
This commit is contained in:
parent
433e4df0f2
commit
174a7ee614
9 changed files with 51 additions and 30 deletions
8
edn/examples/edn01.rs
Normal file
8
edn/examples/edn01.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use tek_edn::*;
|
||||
|
||||
const SOURCE: &'static str = include_str!("edn01.edn");
|
||||
|
||||
fn main () {
|
||||
Tui::run(Arc::new(RwLock::new(Demo::new())))?;
|
||||
Ok(())
|
||||
}
|
||||
8
edn/examples/edn02.rs
Normal file
8
edn/examples/edn02.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use tek_edn::*;
|
||||
|
||||
const SOURCE: &'static str = include_str!("edn02.edn");
|
||||
|
||||
fn main () {
|
||||
Tui::run(Arc::new(RwLock::new(Demo::new())))?;
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue