Welcome to Pascal65, a Pascal compiler and IDE that runs natively on Commodore's 8-bit computers. The MEGA 65 is currently supported, with support for Commodore 64, 128, and Commander X16 coming later.
Pascal is open source with code available at github.com/kenschenke/Pascal65.
This compiler is based on the book Writing Compilers and Interpreters, Second Edition by Ronald Mak as well as the book Introduction to Compilers and Language Design by Professor Douglas Thain.
The IDE text editor is based the booklet Build Your Own Text Editor by Paige Ruten, available at viewsourcecode.org/snaptoken/kilo/ and the Kilo text editor by antirez, available at http://antirez.com/news/108.