John, If you’re working on a BASIC-like Lisp, may I suggest Seymour Papert’s Logo language http://c2.com/cgi/wiki?LogoLanguage.
This is a line-oriented language developed for kids, with Lisp-like semantics, developed originally for Turtle graphics. Since there’s already a Turtle package in Racket, perhaps you could create a full-up Logo in Racket. Not functional, but still cool. Byron ========= Byron Davies, Ph.D. — 480-276-4285 Chief Learner and Director of K-12 Innovation bdav...@starshineacademy.org http://StarShineAcademy.org > On Nov 16, 2014, at 10:00 AM, users-requ...@racket-lang.org wrote: > > Message: 2 > Date: Sun, 16 Nov 2014 11:20:00 +0100 > From: Konrad Hinsen <konrad.hin...@fastmail.net > <mailto:konrad.hin...@fastmail.net>> > To: J Arcane <jarc...@gmail.com <mailto:jarc...@gmail.com>> > Cc: Racket Users <users@racket-lang.org <mailto:users@racket-lang.org>> > Subject: [racket] Can't get my language package to work. > Message-ID: > <21608.31312.613882.412697@Mac-mini-de-Administrateur.local > <mailto:21608.31312.613882.412697@Mac-mini-de-Administrateur.local>> > Content-Type: text/plain; charset=us-ascii > > J Arcane writes: > >> I've been tinkering about with a BASIC-inspired Lisp syntax in Racket to >> practice >> macros. I've now got all the basic definitions established and wanted to >> thus start >> working on making it usable as a language, at least with #lang s-expr but >> I'm failing >> even at that. I can't even get my file to import and function with (require). > > The best starting point I found for implementing languages in Racket is this > article by Matthew Flatt: > > https://queue.acm.org/detail.cfm?id=2068896 > <https://queue.acm.org/detail.cfm?id=2068896> > > You can download all the examples and play with them. I suggest you > take his version based on s-expr and modify it in small steps toward > your own language. It's always easier to modify working code than to > start from scratch. > > Konrad.
____________________ Racket Users list: http://lists.racket-lang.org/users