@@ -164,11 +164,6 @@ Multiline strings in Oil use similar whitespace stripping rules:
164164 '''
165165 }
166166
167- <!--
168-
169- TODO: autovivification from Perl/awk. Is this setvar?
170- -->
171-
172167### Awk
173168
174169Oil gets its regex match operator from Awk:
@@ -183,31 +178,21 @@ Oil gets its regex match operator from Awk:
183178
184179Features influenced by these languages are planned, but not implemented.
185180
186- ### Go (flag library)
187-
188- The builtin flags syntax comes from Go, particularly with respect to boolean
189- flags:
190-
191- mybuiltin --show=0 # turn off a boolean flag that's true by default
192- mybuiltin --show # turn it on
193-
194- Oil also uses a native UTF-8 representation of strings.
195-
196181## Minor Influences
197182
198183### Tcl
199184
200- Oil uses ` proc ` and ` set ` , which makes it look something like Tcl:
185+ Oil uses ` proc ` and ` setvar ` , which makes it look something like Tcl:
201186
202187 proc p(x) {
203- set y = x * 2
188+ setvar y = x * 2
204189 echo $y
205190 }
206191
207192 p 3 # prints 6
208193
209- But this is mostly superficial: Oil isn't homoiconic like Tcl is. It has a lot
210- of syntax, and intentionally avoids dynamic parsing.
194+ But this is mostly superficial: Oil isn't homoiconic like Tcl is, and has a
195+ detailed syntax. It intentionally avoids dynamic parsing.
211196
212197However, [ Data Definition and Code Generation in Tcl (PDF)] [ config-tcl ] shows
213198how Tcl can be used a configuration language:
@@ -272,7 +257,7 @@ What about JS safe string interpolation?
272257LATER:
273258
274259- R language (probably later, need help): data frames
275- - lazy evaluation like mutate : (ms = secs * 100)
260+ - lazy evaluation like mutate (ms = secs * 100)
276261- Honorable mention: Lua: reentrant interpreter. However the use of Unix
277262 syscalls implies global process state.
278263- Lisp: symbol types
0 commit comments