Skip to content

Instantly share code, notes, and snippets.

@rgchris
Last active October 1, 2015 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgchris/677808120abd2a9e0dea to your computer and use it in GitHub Desktop.
Save rgchris/677808120abd2a9e0dea to your computer and use it in GitHub Desktop.
Spacing proposal for Rebol C source
///
/// 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
///
// While QUIT is implemented via a THROWN() value that bubbles up
// through the stack, it may not ultimately use the WORD! of QUIT
// as its /NAME when more specific values are allowed as names.
REBNATIVE(quit) {
// Ordinary spaced comment here...
...
}
//
// 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
//
/// While QUIT is implemented via a THROWN() value that bubbles up
/// through the stack, it may not ultimately use the WORD! of QUIT
/// as its /NAME when more specific values are allowed as names.
REBNATIVE(quit) {
// Ordinary spaced comment here...
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment