Category talk:Wren-regex: Difference between revisions
Content deleted Content added
Added blurb and source code for new 'Wren-regex' module. |
m →Source Code (Wren): Now uses Wren S/H lexer. |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
===Regular
Although the 'Wren-pattern' module performs well for something written entirely in Wren, it is not very fast for large amounts of text, uses non-standard syntax and there are certain patterns which it either does not support at all or supports to only a limited extent.
Line 16:
===Source Code (Wren)===
<
/* Regex represents a reference to a compiled Go Regexp object.
Line 94:
foreign static rename(oldPath, newPath) // renames the file
foreign static remove(path) // removes the file
}</
===Source Code (Go)===
<
package main
Line 515:
vm.InterpretFile(fileName)
vm.Free()
}</
|