ryansuchocki / microscheme

A Scheme subset for Atmel microcontrollers.
http://ryansuchocki.github.io/microscheme/
MIT License
300 stars 20 forks source link

Don't require .ms extension? #3

Closed technomancy closed 9 years ago

technomancy commented 9 years ago

Since Microscheme is a subset of Scheme, it would make sense to allow the .scm extension. As it is, microscheme appends .ms to the end of any filename that doesn't already have it. I think this behaviour should be removed.

This would also make it nicer to write code that you can run on both an Arduino and a regular Scheme implementation to benefit from improved error reporting.

I can make this change if you agree.

ryansuchocki commented 9 years ago

Agreed. You will need to write code to nicely strip any n-character extension, so we can generate filename.s etc...