XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Planet Scheme

Planet Scheme - https://planet.scheme.org/

Scheme Requests for Implementation: SRFI 269: Portable Test Definitions

SRFI 269 is now in final status.This SRFI defines a portable API for test definitions that is decoupled from test execution and reporting. It provides four definition forms: the universal is macro for assertions, testing for giving groups of assertions human-readable context, test for grouping assertions into independently executable units, and suite for organizing tests into hierarchies. The exported metadata auxiliary syntax attaches user-provided information to tests and suites to adjust the…

jointhefreeworld: Parsing Expression Grammar in Lisp: Converting Org to HTML with (ice-9 peg) in Guile

Hi everyone. In this blog post I want to take you in an adventure of parsing Org mode with Parsing Expression Grammars (PEG) in Guile Scheme (ice-9 peg) and converting to HTML (via SXML): OrgWebAlchemy. I wanted to share something with you all that I’ve been working on for a while. It all started with some naive regular expressions to parse Org mode content, but I pretty quickly realized I needed something smarter than that to get to where I want to. It’s taken a while but I am finally more…

Scheme Requests for Implementation: SRFI 285: Dates and Times

SRFI 285 is now in draft status. This SRFI details an API for storing and manipluating dates and times. This SRFI decomposes dates and times into dates (a count of days in the proleptic Gregorian calendar), clock times (time of day, independent of time zone), moments (instants in TAI), timezones (a possibly dynamic offset from UTC), timestamps (a date, clock time,and timezone), and time deltas (measurement of elapsed time). By doing this, a Scheme program can operate on days in different…

Scheme Requests for Implementation: SRFI 284: define-typed

SRFI 284 is now in draft status.This SRFI defines the forms define-typed and define-typed* for creating procedures with checked type boundaries. It allows checking the arguments and/or the return value or values with simple predicate procedures and raises exceptions on usage when they don’t match. The form define-typed* supports keyword and optional arguments. For ad-hoc procedures for map or fold, it also provides lambda-typed and lambda-typed*. The implementation for Guile is optimized to…

crumbles.blog: FAQ: Why isn’t mutable a subtype of immutable, or vice versa?

I remember the moment when I learned about immutability. It changed everything. — Denis Defreyne Periodically, in various programming language forums, the discussion comes up of why a certain language doesn’t provide the immutable and mutable variants of some data structure as subtypes or supertypes of one another. Now, it’s not impossible to do this, but it’s actually not formally correct to do so, and by doing so you’ll lose at least some of the type checking guarantees your language can…

Scheme Requests for Implementation: SRFI 283: (Type-)Check Introspection

SRFI 283 is now in draft status. This SRFI focuses on the introspection and type inference sides of typing / checking. It provides several useful procedures deriving types / checks for arbitrary data. procedure-check-of and check-of work with checks, as in SRFI 253. procedure-type-of and type-of work with implementation-specific types. check->sexp provides a way to serialize opaque checks from above into more readable s-expressions.

crumbles.blog: Loose ends and unfinished business

Here’s a couple of things hanging around in my pre-SRFIs repo which I think are particularly interesting but which, owing to recent events, I’m unlikely to take any further within the context of Scheme. They might form part of a future programming language adventure, but in the meanwhile I’d like to document them here in the hope that some of them might be interesting to passers-by who may like to take them up. Turtle records Record systems are a design nightmare. Existing record type systems…

crumbles.blog: WTF is going on with R7RS Large? 2026 edition

Do come in and sit down. Pour yourself a cup of tea – I’ve just made a fresh pot. It’s been quite a ride since we last met to talk about these things. I became Scheme chair, but I’m not any more. Indeed, I’ve had to quit Scheme entirely. Let me tell you how this happened. Obviously, I’m a lot more personally (and emotionally) invested in telling the story this time than I was last time. It should go without saying that, like last time, this is my own view on what happened. The story so far In…