nanopass-framework-racket icon indicating copy to clipboard operation
nanopass-framework-racket copied to clipboard

Need a Quickstart

Open schuster opened this issue 8 years ago • 3 comments

Just getting started playing around with Nanopass and @LeifAndersen told me to report problems I run into. First issue: the docs don't give me a way to get up and running quickly. I'm looking through the test compiler right now to figure out how to actually "run" Nanopass, but there's a lot of setup code there to wade through. A minimal program that shows the user how to compile a simple language from a simple program (maybe just one or two passes) from end-to-end would be very useful as a jumping-off point.

schuster avatar Mar 03 '16 21:03 schuster

That's a really good idea. I'll actually set up a very small compiler I think demonstrates a lot of nanopas's features. And then write it up as a tutorial.

LeifAndersen avatar Mar 03 '16 23:03 LeifAndersen

(Also, thanks so much for opening up this issue. :) )

LeifAndersen avatar Mar 03 '16 23:03 LeifAndersen

@LeifAndersen any updates on this? I'd love to leverage nanopass for a compiler I'm building, but find it very confusing to try and get started. Trying to reverse engineer the C compiler leaves me wondering if it's an incidental complexity of compiling C, or if it's a function of the nanopass framework.

makufiru avatar Jun 21 '16 08:06 makufiru