Pyschemetranspiler

Latest version: v1.3

Safety actively analyzes 623248 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.3

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

1.2

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 ✨

1.0.0

All core features and a working error message system

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.