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)

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
targit
@targit
I think the idea for Gambit@30 is to meet vis a vis, but: are there recordings or something like that planned - for those of us who don't currently have a valid passport?
James Baker
@eval-apply
yeah it would be fantastic for those of us who can't make it, even if its some audio and slides would be great
Bob Coleman
@skilldown
@feeley Definitely something to be said for volume discounts!
Do you have an updated count for attendance at the meeting? Hopefully a lot of folks could make it.
Marc Feeley
@feeley
I'll be sending out an email with some details soon
Guillaume Cartier
@jazzscheme
How easy (or difficult) would it be to have my mac applications running Gambit in not the main thread. I am exploring this avenue as a solution to this mac rule: "The Cocoa framework is non-thread safe, but enforces one rule, the GUI must run on the main thread"
Marc Feeley
@feeley
I assume you are talking about main OS thread... As far as Gambit is concerned, there's nothing special about the main OS thread and you can run the Gambit code in any OS thread.