File tree Expand file tree Collapse file tree 5 files changed +21
-4
lines changed
src/info/sansgills/mode/python/preproc Expand file tree Collapse file tree 5 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 2
2
/build /
3
3
/dist /
4
4
/build.number
5
+ /src /info /sansgills /mode /python /preproc /* .java # generated files
6
+ /src /info /sansgills /mode /python /preproc /* .tokens # generated files
5
7
6
8
# Java things #
7
9
* .class
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ Done:
19
19
- Basic preprocessor
20
20
21
21
Currently working on:
22
- - Architechture
22
+ - Proper parser for the preprocessor
23
23
24
24
Future work:
25
+ - Library imports and sketch exports
25
26
- Better autoindent & syntax highlighting
26
- - Proper parser for the preprocessor
27
27
- REPL for live coding
28
28
29
29
A working sketch (copy and paste into the PDE to try it out!):
Original file line number Diff line number Diff line change 35
35
</fileset >
36
36
37
37
<fileset dir =" lib" >
38
- <include name =" *.jar" /> <!-- jython -->
38
+ <include name =" *.jar" /> <!-- jython and antlr runtime -->
39
39
</fileset >
40
40
</path >
41
41
44
44
- - - - - - - - - - - - - - - - - - - - - - - -->
45
45
<target name =" get" >
46
46
<mkdir dir =" lib" />
47
+ <mkdir dir =" tool" />
47
48
<get
48
49
src=" http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.7-b1/jython-standalone-2.7-b1.jar"
49
50
dest=" lib/jython-standalone-2.7-b1.jar"
50
51
skipexisting=" true"
51
52
verbose=" true" /> <!-- download latest jython (note: update this if jython updates) -->
53
+ <get
54
+ src=" http://www.antlr.org/download/antlr-runtime-4.1.jar"
55
+ dest=" lib/antlr-runtime-4.1.jar"
56
+ skipexisting=" true"
57
+ verbose=" true" /> <!-- download latest ANTLR runtime (to include with the mode) -->
58
+ <get
59
+ src=" http://antlr4.org/download/antlr-4.1-complete.jar"
60
+ dest=" tool/antlr-4.1-complete.jar"
61
+ skipexisting=" true"
62
+ verbose=" true" /> <!-- download latest ANTLR compiler (to compile our grammars; not included) -->
52
63
</target >
53
64
54
65
<!-- - - - - - - - - - - - - - - - - - - - - - -
83
94
<!-- make mode jar -->
84
95
<jar jarfile =" ${ bundle } /mode/${ lib.name } .jar" basedir =" build" includes =" ${ lib.path } /*.class" />
85
96
<!-- make wrapper jar -->
86
- <jar jarfile =" ${ bundle } /mode/${ wrap.name } .jar" basedir =" build" includes =" ${ wrap.path } /*" /> <!-- include prepend .py -->
97
+ <jar jarfile =" ${ bundle } /mode/${ wrap.name } .jar" basedir =" build" includes =" ${ wrap.path } /*" /> <!-- include * .py -->
87
98
88
99
89
100
<copy todir =" ${ bundle } " >
124
135
<target name =" clean" >
125
136
<delete dir =" ${ build } " />
126
137
<delete dir =" ${ dist } " />
138
+ <delete >
139
+ <fileset dir =" ${ src } /info/sansgills/mode/python/preproc" includes =" *.java *.tokens" /> <!-- remove generated files -->
140
+ </delete >
127
141
</target >
128
142
129
143
</project >
Original file line number Diff line number Diff line change
1
+ // TODO
You can’t perform that action at this time.
0 commit comments