This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ren-c | |
Rebol [ | |
Title: "Power Mezz Test" | |
Date: 7-Jul-2015 | |
Author: "Christopher Ross-Gill" | |
] | |
extend lib 'envelop envelop: func [value][compose [(value)]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// | |
/// 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: http://en.wikipedia.org/wiki/Exit_status" | |
/// /return "(deprecated synonym for /WITH)" | |
/// return-value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ren-c | |
Rebol [ | |
Title: "SQLite Init" | |
Date: 10-Jan-2016 | |
Author: "Christopher Ross-Gill" | |
Comment: [ | |
"Ren/C branch build with LibFFI" | |
http://stackoverflow.com/a/34710721/292969 | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ren-c | |
Rebol [ | |
Title: "A tiny static HTTP server" | |
Author: ["abolka" "Giulio Lunati"] | |
Date: [2009-11-04 2016-07-25] | |
; name: shttpd | |
; type: module | |
; exports: [shttpd] | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rebol [ | |
Title: "HTTPD Scheme" | |
Date: 10-Jun-2013 | |
Author: [ | |
"Christopher Ross-Gill" 4-Jan-2017 "Adaptation to Scheme" | |
"Andreas Bolka" 4-Nov-2009 "A Tiny HTTP Server" | |
] | |
File: %httpd.reb | |
Version: 0.2.0 | |
Rights: http://opensource.org/licenses/Apache-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ren-c | |
Rebol [ | |
Title: "Ping Scheme" | |
Date: 5-Jan-2017 | |
Author: "Christopher Ross-Gill" | |
Home: https://github.com/revault/rebol-wiki/wiki/Port-Examples#tcp-ping-pong-messages | |
] | |
sys/make-scheme [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rebol [ | |
Title: "Integer to Binary" | |
Date: 24-Jan-2017 | |
] | |
method-1: func [ | |
int [integer!] | |
][ | |
debase/base to-hex int 16 | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/rebol -cs | |
Rebol [ | |
Title: "HTTPD Scheme" | |
Date: 10-Jun-2013 | |
Author: [ | |
"Christopher Ross-Gill" 4-Jan-2017 "Adaptation to Scheme" | |
"Andreas Bolka" 4-Nov-2009 "A Tiny HTTP Server" | |
] | |
File: %httpd.reb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ren-c | |
Rebol [ | |
Title: "Turn Lights On and Off" | |
Date: 31-Jan-2017 | |
Author: "Christopher Ross-Gill" | |
File: %light-control.reb | |
Version: 0.1.0 | |
Rights: http://opensource.org/licenses/Apache-2.0 | |
] |