Chez Scheme backend

I implemented a Chez Scheme backend for PureScript a while back. The goal was to combine the power of Haskell, Lisp and C.
power

The prim mechanism allows you to instrument code time with interactive debugging (break, continue, probably even go back with call/cc), tracing and even special procedures like assert and undefined that can report call location.

As I’ve become more proficient with Scheme I’ve come to appreciate that it’s the most powerful programming language and the true price is to learn how to implement type checkers in its macro system with mechanisms like define-property so I’ve dropped the idea of using PureScript as a frontend.

I thought I might as well make the repo public. I won’t be offended if no one cares about it lol

3 Likes

Very cool, thanks for sharing this!

2 Likes

All roads lead to Lisp. Thank you for pointing me in the right direction.

1 Like

I decided to come back to this project because PureScript makes me happy and I thought it would be fun to record and upload to YouTube. I plan on doing modern graphics programming and just go for as long as I’m having fun.

Part 1, intro and repo setup includes

  • :white_check_mark: Hum of laptop in the background
  • :white_check_mark: Mouse noises
  • :white_check_mark: Aggressive keyboard tapping
  • :white_check_mark: Occasionally breathing into the mic
  • :white_check_mark: “uhm”, “uh”, “hmm”, etc
  • :white_check_mark: figuring it out as I go

As usual, I’m not offended if no one engages, but I thought I’d post it here anyway in case anyone’s interested in learning more about writing PureScript backends, understanding CoreFn, power of Lisp macros, and seeing how suitable functional programming actually is for modern GPU programming.