Re: [racket-users] Building "#lang dungeon"

2019-07-14 Thread rain1
There is http://shill.seas.harvard.edu/ it runs on freebsd. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view th

[racket-users] Compiler Fundamentals: Closure Conversion

2019-02-16 Thread rain1
Hello everybody, I wanted to share this short literate program/article I wrote that teaches the closure conversion compiler pass. I hope it's useful or interesting to some of you. It is done using the nanopass style. If you've got any questions I will try to answer! #lang racket ;; this i

Re: [racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread rain1
On 2019-02-08 23:01, George Neuner wrote: On Fri, 8 Feb 2019 08:37:33 -0500, Matthias Felleisen wrote: On Feb 6, 2019, at 3:19 PM, George Neuner wrote: The idea that a compiler should be structured as multiple passes each doing just one clearly defined thing is quite old. I don't have

Re: [racket-users] Github collection for making a language

2019-01-24 Thread rain1
On 2019-01-24 17:03, Stephen De Gabrielle wrote: Hi, GitHub has a feature called ‘Collections’ https://github.com/collections that are community generated content. e.g. https://github.com/collections/choosing-projects I thought I’d make one for ‘How to make your own PL’ I’ve come up with an i

Re: [racket-users] Escaping strings for the shell

2018-12-29 Thread rain1
On 2018-12-29 19:08, David Storrs wrote: On Fri, Dec 28, 2018 at 11:34 PM Jack Rosenthal wrote: On Fri, 28 Dec 2018 at 23:09 -0500, David Storrs wrote: > I am using 'system' to offload some work onto wget and other > applications in a few one-off scripts. Is there an easy way to escape > a st

Re: [racket-users] Converting bulleted list to s-expression?

2018-08-18 Thread rain1
As an example, this... - a - b c - d e f - g h would get transformed into something like this... '(a (b c) (d e f (g h))) You can implement this in 2 stages. Stage 1 is line based parsing, turn the input text into this list: '((0 a) (2 b c) (2 d e f) (4 g h))) the n

[racket-users] Racket PEG parser library release 0.3

2018-08-04 Thread rain1
Hello! Released by PEG parser library version 0.3 today. It has got semantic actions now, which lets you parse and transform at the same time. I hope the code is useful and interesting to you. It can easily be installed via the racket package manager as "peg" and there are docs here: - http

[racket-users] difficult to package library

2018-08-01 Thread rain1
Hi. I want to package my library for https://pkgs.racket-lang.org but I can't figure out how to do the info.rkt file. I would like my repo to be like this: * repo/peg/codehere.rkt like main.rkt peg.rkt etc. * repo/tests/ my tests * repo/scribblings/peg.scrbl the documentation is this directo

Re: [racket-users] announcement: racket-peg release 0.2

2018-04-18 Thread rain1
On 2018-04-14 16:57, David Storrs wrote: Sounds interesting. Is there any documentation on it aside from the README? Yes, It's documented here http://docs.racket-lang.org/peg/index.html and the examples in the repo should be a good resource for using the library too. Don't hesitate to ma

[racket-users] announcement: racket-peg release 0.2

2018-04-13 Thread rain1
hello! I have created a PEG parser library for racket. It's basically regex turned up to 11. It lets you write parsers like this: (define-peg marked-palindrome (or "m" (and "1" marked-palindrome "1") (and "0" marked-palindrome "0"))) or like this: #lang peg expr <-

[racket-users] documentation and tests not running on racket pkgs

2018-02-09 Thread rain1
Hello, I uploaded my package 3 days ago https://pkgs.racket-lang.org/package/peg but the documentation and tests have not been run. I was told it should happen every 24 hours. I am not sure if I created my package slightly wrong or if the build server has a bug. -- You received this messag