• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revision61ab67a19d99b01d6f80d5271239208778ee49f9 (tree)
Time2015-01-16 15:31:50
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE tutorial Ticket to Advanced3.
new file: SampleCode/PIONE/Advanced3plus1/Annotation.pione
new file: SampleCode/PIONE/Advanced3plus1/Main.pione

Change Summary

Incremental Difference

--- /dev/null
+++ b/SampleCode/PIONE/Advanced3plus1/Annotation.pione
@@ -0,0 +1,4 @@
1+.@ PackageName :: "Ref3DtoRef2D"
2+.@ Editor :: "Kinoshita"
3+.@ Tag :: "v0.2.0"
4+.@ Parent :: &Ref3DtoRef2D.editor("Kinoshita").tag("v0.1.1")
\ No newline at end of file
--- /dev/null
+++ b/SampleCode/PIONE/Advanced3plus1/Main.pione
@@ -0,0 +1,30 @@
1+Rule Main
2+ output '*.ref3d'
3+ output '*.ref2d'
4+ output '*.mon'
5+ output '*.gif'
6+Flow
7+ rule Start >>> SubMain >>> Result
8+ rule Finish
9+End
10+
11+Rule Start
12+ output 'Start0!Flag'
13+Action
14+ touch {$O[1]}
15+End
16+
17+Rule SubMain
18+ input 'Start*!Flag'
19+ output '*.*'.all
20+Flow
21+ rule Interaction {val : '{$I[1][1]}'.str().i()} >>> Ref3DtoRef2D {val : '{$I[1][1]}'.str().i()}
22+End
23+
24+Rule Finish
25+ input 'Finish*!Flag'
26+ input '*.*-{$I[1][1]}'
27+ output '{$I[2][1]}.{$I[2][2]}'
28+Action
29+ cp {$I[2]} {$O[1]}
30+End
\ No newline at end of file
Show on old repository browser