Instantly share code, notes, and snippets.

View rebol-syntax-for-ace.js
define(
function(require, exports, module) {
"use strict";
var Lookup = function(terms) {
this.terms = terms;
this.lookup = function (term){
return this.terms.indexOf(term.toLowerCase()) > -1;
}
}
View rebol.ebnf
/*
REBOL Syntax
2012 by Christopher Ross-Gill
Based in Part on REBOLSource / REBOL Syntax by Earl, Ladislav and Steeve
https://github.com/rebolsource/rebol-syntax/
Designed for use with:
http://railroad.my28msec.com/rr/ui
For Future Ref:
View so-qa.r
REBOL [
Title: "Stack Overflow Rebol Questions/Answers"
Date: 16-Feb-2013
Author: "Christopher Ross-Gill"
Options: [
AltXML: http://reb4.me/r3/altxml
Questions: http://stackoverflow.com/feeds/tag/rebol
Feed: http://-feed-location-/so.feed
]
]
View faces.adoc

R3 GUI Faces

Concepts

A face is an instance of a style.

A style holds the default attributes, variables, and functions of a GUI element, but a face object stores the specific values for that instance of the style.

View resizing.adoc

Resizing for R3 GUI framework

Purpose

The purpose of this document is to describe the R3 GUI resizing subsystem.

Overview

View addsite.reb
Rebol [
Title: "Add a Site"
Type: 'controller
File: %app/controllers/addsite.r
]
route () to submit [ ; where submit is %app/views/addsite/submit.html.rsp
get [] ; shows the form
put [
View textize-rebol-content.rebol
REBOL [
Title: "Scraper"
Date: 1-Dec-2013
]
textize: func [html [string!] /local rule last-list value new-table in-pre][
html: load-html/dom html
last-node: html
last-list: ""
in-pre: false
View links.md
View spaces-in-strings.reb
Rebol [
Title: "Syntax Highlighting of Spaces in Strings"
Date: 29-Mar-2015
Author: "Christopher Ross-Gill"
]
Samples: [ ; a comment
string-with-spaces {
I am spaced.
}
View buckets.reb
Rebol [
Title: "Fleshing out a model for a COLLECT/KEEP in Parse based on correctness"
Date: 26-Apr-2015
Author: "Christopher Ross-Gill"
]
buckets: []
new-branch: quote (insert/only buckets bucket: copy [])
fold-branch: quote (bucket: buckets/2 append bucket take buckets)
kill-failed-branch: quote (remove buckets)