unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Scheme+ v5.0
@ 2023-02-10 20:51 Damien Mattei
  0 siblings, 0 replies; only message in thread
From: Damien Mattei @ 2023-02-10 20:51 UTC (permalink / raw)
  To: guile-user

Hello,
i just released a new version of Scheme+
Scheme+ is an extension of the syntax of the Scheme language. Scheme+ makes
it easy the assignment of Scheme objects in infix (works also in prefix)
notation with a few new operators ← (or <-), [ ],⥆ (or <+) .

https://github.com/damien-mattei/Scheme-PLUS-for-Guile

This new version adds operator precedence in the infix evaluator for
operators,procedures and macros (example: or , and).

Expressions like this can now be used in Scheme+:

 {5 * 3 + 2}
17

{xp <- {x - v * t} / (sqrt {1 - v ** 2 / c ** 2})}

{ 4 + 3 * 2 - 19 < 0 - 4}
 #t

{ #f or #f and (begin (display "BAD") (newline) #t)}
#f

Damien


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-10 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-10 20:51 Scheme+ v5.0 Damien Mattei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).