Re: [racket-users] [ANN] Racket implementation of magic language

2019-07-31 Thread Neil Van Dyke
Jonathan Simpson wrote on 7/31/19 9:54 PM: #lang magic is my implementation of the mini language used by the Unix file command. Nice.  In addition to the practical merits, and the craft, it's also an example of a useful legacy DSL we can point to (like lex, yacc, make), and which Racket now i

[racket-users] Re: [ANN] Racket implementation of magic language

2019-07-31 Thread Jonathan Simpson
And most importantly, here is the github :) https://github.com/jjsimpso/magic -- 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...@googlegro

[racket-users] [ANN] Racket implementation of magic language

2019-07-31 Thread Jonathan Simpson
#lang magic is my implementation of the mini language used by the Unix file command. I'm aiming for compatibility with Ian Darwin's version , found in most Linux and BSD distributions. #lang magic is a work in progress. It is missing a lot of functionality but s

Re: [racket-users] Symex: a DSL for symbolic expressions

2019-07-31 Thread Neil Van Dyke
Siddhartha Kasivajhula wrote on 7/29/19 3:41 PM: generalization of modal user interfaces that has a "language-oriented programming" flavor. Applying traditionally-sexp structural-based editing to non-sexp languages seems relevant to non-sexp Racket2 syntax (e.g., Honu), and other non-sexp lan

Re: [racket-users] Symex: a DSL for symbolic expressions

2019-07-31 Thread Stephen De Gabrielle
Thanks for sharing . Very interesting. S. On Mon, 29 Jul 2019 at 20:41, Siddhartha Kasivajhula wrote: > Hi folks, > I've been lurking in these here forums for a little while now. Over the > years I've looked for the perfect language to implement toy projects in and > nothing seemed quite right.

[racket-users] Re: [standard-fish] Lightsabers!

2019-07-31 Thread Stephen Foster
Wow! Nice. I'll show this to the students taking my "Coding for Star Wars Fans" summer camp :) Thanks for doing this! On Tuesday, July 30, 2019 at 1:06:25 PM UTC-7, Justin Zamora wrote: > > Stephen De Gabrielle announced this a few days ago on racket-dev, so I > spent my weekend embracing my

Re: [racket-users] SOLVED: Calling function with Scribble text as argument(s)

2019-07-31 Thread Ben Greenman
>> At the beginning of every inclided file (and there are more than fifty >> of them) I have to place the lines >> >> #lang scribble/base >> @(require "pfx.scrbl") >> >> where pfx.scrbl contains the definitions of my new @ commands. You could replace those lines with a custom #lang: htt

Re: [racket-users] SOLVED: Calling function with Scribble text as argument(s)

2019-07-31 Thread Benjamin Lerner
In cases like these, I’d just define a helper file |my-commands.rkt|, and |@(require "my-commands.rkt")| Those helper commands can use standard Racket syntax, since they’re likely to mostly be standard-looking Racket functions, and they can |(require scribble/whatever)| libraries if they need t

Re: [racket-users] [standard-fish] map of the world

2019-07-31 Thread Stephen De Gabrielle
Very nice! Thank you so much! Looks like an opportunity for some remixing :o S. On Wed, 31 Jul 2019 at 01:58, Alex Harsanyi wrote: > Here is a map of the world, rendered using a 40 line Racket program and > country outline data from https://geojson-maps.ash.ms/. You can find the > source here

Re: [racket-users] [standard-fish] Reverse engineered quilt design

2019-07-31 Thread Stephen De Gabrielle
Hi Daniel On Wed, 31 Jul 2019 at 14:16, Daniel Prager wrote: > On Wed, Jul 31, 2019 at 6:28 PM Stephen De Gabrielle < > spdegabrie...@gmail.com> wrote: > >> Wow. >> > > Thanks Stephen, and good on you for this fun competition! > :) > It's been almost 5 years since RacketCon 2014, where I talke

[racket-users] SOLVED: Calling function with Scribble text as argument(s)

2019-07-31 Thread Hendrik Boom
On Tue, Jul 30, 2019 at 10:40:34PM -0400, Hendrik Boom wrote: > On Tue, Jul 30, 2019 at 04:04:38PM -0400, Ben Greenman wrote: > > > Now for the next problem. If I @include-section, an occurrence of > > > redtext in the included section is recognised as an unbound identifier. > > > Evidently I need

Re: [racket-users] [standard-fish] Reverse engineered quilt design

2019-07-31 Thread Daniel Prager
On Wed, Jul 31, 2019 at 6:28 PM Stephen De Gabrielle < spdegabrie...@gmail.com> wrote: > Wow. > Thanks Stephen, and good on you for this fun competition! It's been almost 5 years since RacketCon 2014, where I talked about youpatch.com, still up and running, BTW. https://www.youtube.com/watch?v=

Re: [racket-users] [standard-fish] Reverse engineered quilt design

2019-07-31 Thread Stephen De Gabrielle
Wow. On Wed, 31 Jul 2019 at 00:04, Daniel Prager wrote: > Here's a photo of the original quilt from Red Pepper Quilts (not my work): > > > > More images, including details, here: > http://bastings54.rssing.com/browser.php?indx=6115008&item=60 > > And here's my reverse-engineered Racket version:

Re: [racket-users] [standard-fish] Lightsabers!

2019-07-31 Thread Stephen De Gabrielle
The force is strong with this one! On Tue, 30 Jul 2019 at 21:06, Justin Zamora wrote: > Stephen De Gabrielle announced this a few days ago on racket-dev, so I > spent my weekend embracing my inner Star Wars nerd and made > lightsabers in Racket. I had never used the pict library before, so it >