News for hackers. Stuff that matters.
Re:Overview of Gauche Scheme by brudgers on Monday March 02, 2015 @11:02AM (#9132429)
One potentially cool tradeoff in Gauche Scheme is giving up full R7RS [1] compliance inexchange Clojure style keywords that resolve to themselves [2].

[1]: http://practical-scheme.net/gauche/man/gauche-refe_5.html#St...

[2]: http://practical-scheme.net/gauche/man/gauche-refe_48.html#K...

For example:

  gosh> :key
  :key
  gosh> (define :key 5)
  *** ERROR: Compile Error: syntax-error: (define :key 5)
  "(stdin)":2:(define :key 5)

  Stack Trace:
  _______________________________________
Re:Overview of Gauche Scheme by shiro on Monday March 02, 2015 @05:20PM (#9134746)
We'll address this issue in a couple of releases. It'll be compliant to R7RS and mostly backward-compatible to existing code. The features is already in the dev HEAD.

The trick is:

- There'll be a "keyword" module that conceptually binds and exports all possible names beginning with ':'. Each name is bound to itself.

- The keyword module is implicitly visible to Gauche native programs (inheriting "gauche" module). So, the identifiers beginning with ':' behaves as if they're keywords, unless you rebinds them explicitly.

- From vanilla R7RS, nothing is special with identifier beginning with ':'. You can import the keyword module to make it behave like keywords.

Re:Overview of Gauche Scheme by wtbob on Monday March 02, 2015 @05:01PM (#9134634)
Note that they're working on that incompatibility, and hope to resolve it. It's not really a tradeoff, but simply a relic of predating R7RS.
Re:Overview of Gauche Scheme by devslashnull on Monday March 02, 2015 @05:20PM (#9134751)
I've been writing a ton of stuff in Gauche lately and I've found the experience to be great. The standard library is well thought out and the documentation is solid (aside from the ffi / c generator but that side of things seems to be still evolving).