Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 05 15:01
    Travis gambit/gambit (v4.9.0) passed (1583)
  • May 05 14:51

    feeley on v4.9.0

    (compare)

  • May 05 14:51

    feeley on v4.9.0

    (compare)

  • May 05 13:52
    CI run 813517185 passed
  • May 05 13:16

    feeley on master

    Keep only the "INSIDE_EMACS" de… Merge branch 'master' of github… (compare)

  • May 04 17:59
    CI run 810839381 passed
  • May 04 17:19

    gambiteer on master

    Update SRFI 179 generalized-ar… (compare)

  • May 03 11:55
    CI run 806636559 passed
  • May 03 11:20

    feeley on master

    Remove six.prefix form (compare)

  • May 02 20:25
    CI run 804932802 passed
  • May 02 19:43

    feeley on master

    Universal backend: connect curr… (compare)

  • May 02 17:33
    MacOS build of CI run 804702347 failed
  • May 02 17:16

    feeley on master

    Universal backend: allow creati… (compare)

  • May 02 15:03
    lassik opened #688
  • May 02 04:12
    Windows-mingw build of CI run 803525339 failed
  • May 02 03:46

    feeley on master

    Universal backend: add meta-inf… (compare)

  • May 01 16:25
    CI run 802492973 passed
  • May 01 15:46

    feeley on master

    Test simpler CI Windows/mingw b… (compare)

  • May 01 15:26
    Windows-mingw build of CI run 802422058 failed
  • May 01 15:01

    feeley on master

    Fix issue on Windows/mingw with… (compare)

Marc-André Bélanger
@belmarca
@amirouche Gambit 30, are we skipping 5.0 ? :laughing:
Paul Whittington
@pwhittin
Gambit and Scheme newb here, although I've been programming in Clojure for several years now. While reading "Tour of Scheme in Gambit" I tried to pust "(module hello)" in a .scm file, and load it with gsi. It gives me an unbound variable error noting "module". How does one use "module" and "use"?
targit
@targit
@pwhittin Gambitscheme.org is not reachable for me ATM, but from memory i think "Tour of Scheme in Gambit" talked about the "Blackhole" module system. It was never part of gambit (bundled within the gambit repo) and i think it can be considered phased out / deprecated. AFIK your current options for a module-system with gambit (besides using "load" and "include" and thus managing everything, especially dependencies, by hand) is use either the gerbil dialect or the newly but not fully documented built-in module system which is documented in the info-page. I you can wait a little bit, i think the r7rs module system will be released for gambit soon. No promises here, it's just that Marc indicated something like this.
Paul Whittington
@pwhittin
Thanks!
Marc-André Bélanger
@belmarca
I'm trying to use syntax-case but it seems datum->syntax is not defined
*** ERROR -- Unbound variable: sc#datum->syntax
loading it with (##include "~~/lib/syntax-case.scm")
targit
@targit
@belmarca I think it is: (include "~~lib/_syntax.scm")
marcoroque
@marcoroque
Hello All, this semester I am taking a class on programming languages and we are using gambit. we use gambit through our schools server via putty. I understand enough of emacs in order to work on my code. However, I wanted to edit my code in my preferred text editor and then just run the code through cmd. So I installed gambit and it installed properly but whenever I try to run my code using gsi [insert file name].scm a window flashes for a second and then disappears. Is there anyway that I can get the window to stay open or is there a way I can just get the code to run in terminal like when I run a c++ program?
marcoroque
@marcoroque
never mind, it works when I use cmd but not through the terminal in Atom
Marc Feeley
@feeley

I assume you are on Windows. There are a few options, the simplest is probably using the -:d- switch, as in:

gsi -:d- program.scm

This forces the REPL to be on stdin/stdout.

Another way is:
gsi program.scm -e "(read)"
Are you using gsi from the Windows command prompt window or from a MSYS shell window?
Marc Feeley
@feeley
Also I'm curious, which college or university are you at and which course is it?
Marc-André Bélanger
@belmarca
@targit I get the same error.
Marc-André Bélanger
@belmarca
@marcoroque gsi file.scm - will leave you in a repl
targit
@targit
@belmarca Strange, on my system i get the same error as you got when including "syntax-case.scm" but no error when including "_syntax.scm". My stupid testcase ```(include "~~lib/_syntax.scm")
Marc-André Bélanger
@belmarca
now with-syntax is not defined... weird
targit
@targit

(define-syntax blub (lambda (x) (syntax-case x () ((_) (pp (datum->syntax x 'here)) 1))))
(blub)

(#(source2) here (stdin) 10)

(I need to learn gitter markup sometime ...)

Marc-André Bélanger
@belmarca
*** ERROR -- Unbound variable: with-syntax
So either datum->syntax or with-syntax is undefined.
Marc-André Bélanger
@belmarca
can anyone successfully use datum->syntax and with-syntax using gambit's syntax-case lib?
Guillaume Cartier
@jazzscheme
Has anyone been able to notarize (what the upcoming macOS Catalina is enforcing for applications) a Gambit application (successfully or not)?
marcoroque
@marcoroque
Sorry for the late reply @feeley and @belmarca . So the "-:d-" method didn't work but both adding "-e '(read)' " and just "-" both work by leaving me on a repl but "-" adds a '>' at the end for some reason, weird but still works. Thank you both so much. This is for my Programming Languages class at Texas A&M University.
Marc-André Bélanger
@belmarca
@marcoroque > is just the prompt
marcoroque
@marcoroque
oooh gotcha
Marc-André Bélanger
@belmarca
if file.scm contains (define foo 'foo) you can run it using gsi file.scm - and then enter foo you should get 'foo back
marcoroque
@marcoroque
oh so does running "gsi file.scm -" kind of acts like an interactive mode?
Marc-André Bélanger
@belmarca
marcoroque
@marcoroque
thanks I just always have a hard time finding things in the manual
Marc-André Bélanger
@belmarca
you're welcome.
Jaime Fournier
@ober
Is a golang universal backend a realistic goal? been reviewing the other backends and it seems doable
Marc-André Bélanger
@belmarca
@ober is there documentation for the universal backend?
Jaime Fournier
@ober
there is plenty of code that is pretty easy to grok
Marc-André Bélanger
@belmarca
Marc-André Bélanger
@belmarca
so iiuc the universal backend is the GVM ported to other runtimes?
amirouche
@amirouche
yes
Jaime Fournier
@ober
afaik yes
yes
Marc Feeley
@feeley
golang is already there!
Marc Feeley
@feeley
the universal backend is a backend that implements the GVM in a fairly generic way on top of other dynamic languages. it uses a more or less natural mapping of Scheme data to the host language (JS, Python, go, PHP, ...)
amirouche
@amirouche
JS backend works great in the browser
amirouche
@amirouche
Any news from Gambit 30?
Marc Feeley
@feeley
@amirouche There's still time for someone interested to register for the Gambit at 30 meeting... Just send me an email... For details see https://mailman.iro.umontreal.ca/pipermail/gambit-list/2019-July/009117.html
amirouche
@amirouche
Sorry, I was under the impression that the meeting was 1st of October. I can not come, I am in France.
Marc Feeley
@feeley
image.png
The prices for flights are rather good...
Bob Coleman
@skilldown
Wow! That is a good price. My flight from Kentucky was 20% higher and I am 80% closer. :-)
Marc Feeley
@feeley
However Quebec and France are closer culturally which makes a huge difference (more traffic = more flights = more competition = better prices)... and I think that price is in canadian dollars...
Marc-André Bélanger
@belmarca
that, and try to get an intra-canadian flight for that cheap, they're rare