Skip to content

Instantly share code, notes, and snippets.

Christopher Ross-Gill rgchris

View GitHub Profile
rgchris / rebol-syntax-for-ace.js
Created Feb 2, 2013
Rebol Syntax for ACE editor.
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;
rgchris / rebol.ebnf
Last active Dec 12, 2015
EBNF Notation describing the REBOL (and family) Message Format
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:
rgchris / so-qa.r
Last active Dec 14, 2015
Build a feed of questions AND answers from Stack Overflow 'most active' feed.
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
rgchris / faces.adoc
Last active Dec 18, 2015
Sample MakeDocPro to AsciiDoc
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.

rgchris / resizing.adoc
Last active Dec 18, 2015
Sample MakeDocPro to AsciiDoc #2
View resizing.adoc

Resizing for R3 GUI framework


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


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 [
rgchris / textize-rebol-content.rebol
Last active Jan 1, 2016
An exercise in scraping Blogger HTML content with Rebol.
View textize-rebol-content.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
rgchris /
Last active Aug 29, 2015
Testing the handling of various types of link markup.
rgchris / spaces-in-strings.reb
Last active Aug 29, 2015
Spaces in Rebol Strings (and other tests of Rebol highlighting)
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.
rgchris / buckets.reb
Last active Aug 29, 2015
Fleshing out a model for a COLLECT/KEEP in Parse based on correctness.
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)
You can’t perform that action at this time.