Skip to content

Instantly share code, notes, and snippets.

@zephyrfalcon
zephyrfalcon / # swi-prolog - 2017-10-07_09-22-54.txt
Created October 7, 2017 13:41
swi-prolog on macOS 10.12.6 - Homebrew build logs
Homebrew build logs for swi-prolog on macOS 10.12.6
Build date: 2017-10-07 09:22:54
@zephyrfalcon
zephyrfalcon / gist:f828d49ee653f3bf686a
Created April 1, 2015 00:00
ooc: Adding split() method to Regexp
import text/Regexp
import structs/ArrayList
extend Regexp {
split: func (s: String) -> ArrayList<String> {
results := ArrayList<String> new()
while (true) {
matchobj := this matches(s)
if (matchobj == null) break