Instantly share code, notes, and snippets.

Christopher Ross-Gill rgchris

View GitHub Profile
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)
View make-crc.reb
Rebol [
Title: "Make CRC"
Date: 25-May-2015
Author: "Christopher Ross-Gill"
shift32: func [value [integer!] bits [integer!] /logical][
apply :shift [to integer! #{00000000FFFFFFFF} and to binary! value bits logical]
View test-power-mezz.reb
Rebol [
Title: "Power Mezz Test"
Date: 7-Jul-2015
Author: "Christopher Ross-Gill"
extend lib 'envelop envelop: func [value][compose [(value)]]
View comments-alt.c
/// quit: native
/// {Stop evaluating and return control to command shell or calling script.}
/// /with {Yield a result (mapped to an integer if given to shell)}
/// value [any-type!] "See:"
/// /return "(deprecated synonym for /WITH)"
/// return-value
View rebol-syntax-for-ace.js
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
Designed for use with:
For Future Ref:
View so-qa.r
Title: "Stack Overflow Rebol Questions/Answers"
Date: 16-Feb-2013
Author: "Christopher Ross-Gill"
Options: [
Feed: http://-feed-location-/so.feed
View faces.adoc

R3 GUI Faces


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.