by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:56
    feeley commented #568
  • 21:18
    daviwil commented #568
  • 21:08
    feeley commented #568
  • 20:11
    daviwil synchronize #568
  • 19:52
    daviwil synchronize #568
  • 18:31
    daviwil commented #568
  • 18:29
    feeley commented #568
  • 18:26
    daviwil commented #568
  • 18:19
    feeley commented #568
  • 18:17
  • 18:17
    daviwil commented #568
  • 17:40
    daviwil synchronize #568
  • 17:38
  • 17:18
  • 17:00
    daviwil synchronize #568
  • 16:41
    daviwil synchronize #568
  • 16:09
    daviwil commented #568
  • 15:59
    FredericHamel commented #568
  • 15:56
    daviwil commented #568
  • 14:57
    feeley commented #568
Guillaume Cartier
@jazzscheme
Does anyone know of any library / code in Gambit (or even in some other Scheme implementation that I could port) that do compression / decompression in pure Scheme code without depending on an external library like zlib?
Marc Feeley
@feeley
@Phiroc I agree that NotEmacs could be improved and has some rough spots. The code is completely open and I would hope that someone else jump in an go ahead with improvements and fixes. My dev time is mainly focused on Gambit currently so I have no time to spend on it.
@jazzscheme Yes there's a zlib implementation in pure Scheme in the bigloo source code. I used that to make a zlib snow ball many years ago. And now I've revived the code for the next release of Gambit. I also have a tar module.
Guillaume Cartier
@jazzscheme
@feeley Wonderful! Do you have a "Gambit-ish” optimized version that you could send me?
Guillaume Cartier
@jazzscheme
Gambit’s website is having difficulties
Warning: require_once(/Users/gambit/Sites/wiki/skins/.php) [function.require-once]: failed to open stream: No such file or directory in /Users/gambit/Sites/wiki/includes/Skin.php on line 144
Marc Feeley
@feeley
should be fixed now
John Cowan
@johnwcowan
@jazzscheme But can you watch 80 movies simultaneously?
Marc-André Bélanger
@belmarca
@johnwcowan I also wondered what is the purpose of such software :laughing: Probably streaming.
Guillaume Cartier
@jazzscheme
:) lol. It’s a video conference software. So the 80 movies was just a way to have a feel of what the largest number of participants could be in term of performance of audio and video, ignoring bandwidth (it was a local machine test)
Marc Feeley
@feeley
The Gambit at 30 meeting will be October 12-13. Please register ASAP and tell your friends! https://mailman.iro.umontreal.ca/pipermail/gambit-list/2019-September/009152.html
jaimef-castlight
@jaimef-castlight
@amirouche how far along are you with wiredtiger support?
amirouche
@amirouche
I did not start. Why?
Oberheim
@ober
std/srfi/14#char-set-contains? -- (Argument 2) Out of range (string-ref "\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x1;\x1;\x1;\x1;\x1;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x1;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0... 8230)
assuming slack handing out non-valid unicode values again?
Oberheim
@ober
@amirouche I was looking at adding support to gerbil for wiredtiger. thus the question.
amirouche
@amirouche
I will not do it in the foreseeable future. Maybe Gambit 30 will change things
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.
Oberheim
@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?