Skip to content

Releases: Coronon/PySchemeTranspiler

Fluffy unicorns 🦄

08 Jul 20:38
4cf62f9
Compare
Choose a tag to compare

Now, this is a big one! A lot of new awesome features to allow you to skip even more Scheme classes.

This release has the batteries included to leap ahead in racket development.

PYST now has full typed Tuple support that can be extremely convenient if you want to return multiple values from a function 😉
Ever missed the in keyword? PYST now has you covered!
This is a big one: for loops now support multiple targets! Finally, useful nested lists and tuples! 🥳
Writing a sorting-algorithm implementation and want to swap values? The days of temporary variables are gone, just swap them like you are used to and let PYST do the work! 😎

A full list of all new features and fixes:

  • Full tuple support
  • Full tuple for loop
  • Assert keyword
  • For loop support for Tuple with multiple variables: for x, y in ((1, 2)):
  • in token as in if "a" in ["a", "b"]:
  • MultiAssign list element swap (seq[n - 1], seq[n] = seq[n], seq[n - 1])
  • AugAssign (number += 17)
  • Toggle for (define (main) {Usercode}) to allow easier function (module) exports
  • Define __name__ as "__main__"
  • Escape " in constants
  • Add own type to type converters (int(1))
  • Remove trailing space in print(x, ...)
  • Don't print non used function returns

Better returns and If-expressions

02 Jul 16:53
4fe07f9
Compare
Choose a tag to compare

Having to adapt to Scheme is hard, which is why this release will point out when you misuse return (we all know you do 😉)

If-expressions in Python are awesome! So why not use them with PYST? Now you can! Slap those convenient fellows in your code and witness the magic ✨

First Release

25 Oct 16:13
25fe573
Compare
Choose a tag to compare

All core features and a working error message system