• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revisión5e2e2dde53d09c4df9f0edbda13482eb6fd0d46e (tree)
Tiempo2015-01-14 10:58:53
Autorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE tutorial about Ticket.
new file: SampleCode/PIONE/Basic12/CreateList-instant.pione
new file: SampleCode/PIONE/Basic12/CreateList-ticket.pione
new file: SampleCode/PIONE/Basic12/CreateList-ticket2.pione

new file: SampleCode/PIONE/Basic12/input/1.data

new file: SampleCode/PIONE/Basic12/input/2.data

Cambiar Resumen

Diferencia incremental

--- /dev/null
+++ b/SampleCode/PIONE/Basic12/CreateList-instant.pione
@@ -0,0 +1,21 @@
1+Rule Main
2+ input '*.data'.all
3+ output 'list.txt'
4+Flow
5+ rule Touch0
6+ rule CreateList
7+End
8+
9+Rule Touch0
10+ output '0.data'
11+Action
12+ sleep 1
13+ touch {$O[1]}
14+End
15+
16+Rule CreateList
17+ input '*.data'.all
18+ output 'list.txt'
19+Action
20+ ls *.data > {$O[1]}
21+End
\ No newline at end of file
--- /dev/null
+++ b/SampleCode/PIONE/Basic12/CreateList-ticket.pione
@@ -0,0 +1,21 @@
1+Rule Main
2+ input '*.data'.all
3+ output 'list.txt'
4+Flow
5+ rule Touch0 ==> <T>
6+ rule <T> ==> CreateList
7+End
8+
9+Rule Touch0
10+ output '0.data'
11+Action
12+ sleep 1
13+ touch {$O[1]}
14+End
15+
16+Rule CreateList
17+ input '*.data'.all
18+ output 'list.txt'
19+Action
20+ ls *.data > {$O[1]}
21+End
\ No newline at end of file
--- /dev/null
+++ b/SampleCode/PIONE/Basic12/CreateList-ticket2.pione
@@ -0,0 +1,20 @@
1+Rule Main
2+ input '*.data'.all
3+ output 'list.txt'
4+Flow
5+ rule Touch0 >>> CreateList
6+End
7+
8+Rule Touch0
9+ output '0.data'
10+Action
11+ sleep 1
12+ touch {$O[1]}
13+End
14+
15+Rule CreateList
16+ input '*.data'.all
17+ output 'list.txt'
18+Action
19+ ls *.data > {$O[1]}
20+End
\ No newline at end of file
Show on old repository browser