HomeSpun
Der in C# verfaßte lange nur als Binary freie SPIN-Compiler ist seit mehr als nur einem Weilchen (Sept'2008?) quelloffen und diese Änderung hat seltsam wenig Wellen geschlagen.
Da dieser sich überall einsetzen läßt, wo man DotNet-Kram ans Rennen kriegt, hat er durchaus (s)eine Zuckerseite...
Als ich MonoDevelop installiert hatte um mal zu testen, ob ich PropC2Asm in C# unter Debian-8.5 gebacken bekomme (das klappte dann auch), musste ich mich neugierhalber auch an https://github.com/ZiCog/HomeSpun probieren und was da aus MonoDevelop rauspurzelt schaut so aus:
Code: Alles auswählen
$ ls -l
insgesamt 184
-rwxr-xr-x 1 yeti yeti 135680 Jul 19 01:12 HomeSpun.exe
-rw-r--r-- 1 yeti yeti 47323 Jul 19 01:12 HomeSpun.exe.mdb
$ ./HomeSpun.exe
Homespun Spin Compiler 0.32 - Batang Build
Usage: homespun filename [options]
Options:
-? -- Quick help (this message).
-b -- Write .binary file instead of the default .eeprom file.
-c -- Write .dat file too.
-d -- Dump memory listing.
-D -- Define symbol; e.g. -D DEBUG
-e -- Write .eeprom file (default).
-i<n> -- Set information level: -i0 -- no messages. -i1, -i2 -- some. -i3 -- all (default).
-L -- Specify library path; e.g. -L c:\mylib\ -L c:\obex\
-M -- Override 32k limit (use at own risk); e.g. -M 65536
-o -- Specify output filename; e.g. -o blah
-w -- Enable warnings.
No input file specified
...der ist aber in 'nem anderen Directory... also nich über "../lib" wundern...
Code: Alles auswählen
$ ./HomeSpun.exe mandelbrot-20140622.spin -L ../lib/
Homespun Spin Compiler 0.32 - Batang Build
parsing mandelbrot-20140622.spin
parsing ../lib/conio.spin
compiling mandelbrot-20140622.spin
compiling conio.spin
writing 32768 bytes to mandelbrot-20140622.eeprom
$ /opt/spinsim/bin/spinsim mandelbrot-20140622.eeprom -b
"""""""""""""############$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$###############
""""""""""""########$$$$$$$$$$$$$$$$$$$$$%%%%%%&':,&&&%%%%$$$$$##########
""""""""""######$$$$$$$$$$$$$$$$$$$$$%%%%%%%%&&&'(+/*,,&%%%%%%$$$$$######
"""""""""####$$$$$$$$$$$$$$$$$$$$$%%%%%%%%%&&&'()*2:0+)'&&&%%%%%$$$$$$###
"""""""####$$$$$$$$$$$$$$$$$$$$%%%%%%%%%&&'''()+::::::6+('&&&&%%%%$$$$$$$
""""""###$$$$$$$$$$$$$$$$$$$%%%%%%%&&&(()*)))*+,1:::::.+**(''''-'%%$$$$$$
"""""##$$$$$$$$$$$$$$$$$%%%%%&&&&&&''(*.:::3::::::::::::::4.,5/0:(&%%$$$$
"""""#$$$$$$$$$$$$$$%%%&&&&&&&&&'''')+,/:::::::::::::::::::::::4)'&&%%$$$
""""#$$$$$$$$$%%%%&&')-((((((((((())+1:::::::::::::::::::::::::4+**&%%%$$
""""$$$$%%%%%%%&&&&'()+/60,.90:,**+-8:::::::::::::::::::::::::::3+(&%%%$$
"""#$%%%%%%%&&&&&&'((,,3::::::::::/6:::::::::::::::::::::::::::::8'&%%%%$
"""%%%%%%%&''''(()-/:/9::::::::::::::::::::::::::::::::::::::::::(&&%%%%$
"""*+,-,2:44:52::::::::::::::::::::::::::::::::::::::::::::::7,*('&&%%%%$
"""%%%%%%%&''''((*-/:0:::::::::::::::::::::::::::::::::::::::::::(&&%%%%$
"""$$%%%%%%%&&&&&&'((.-2::::::::::05:::::::::::::::::::::::::::::2'&%%%%$
""""$$$$%%%%%%%&&&&'()+/:1-.70:,**+-::::::::::::::::::::::::::::2+(&%%%$$
""""#$$$$$$$$%%%%%&&'),((((()((((()),0:::::::::::::::::::::::::4,*+&%%%$$
"""""#$$$$$$$$$$$$$$%%%&&&&&&&&&''''),-1:::::::::::::::::::::::3)'&&%%$$$
"""""##$$$$$$$$$$$$$$$$$%%%%%&&&&&&''(*.:::6::::::::::::::4/,8004(&%%$$$$
""""""###$$$$$$$$$$$$$$$$$$%%%%%%%%&&&))*+)))*+,1:::::.+**)(''(+'&%%$$$$$
"""""""####$$$$$$$$$$$$$$$$$$$%%%%%%%%%&&&'''()+::::::7+('&&&&&%%%$$$$$$$
"""""""""####$$$$$$$$$$$$$$$$$$$$$%%%%%%%%%&&&'(*+::1+)'&&&%%%%%$$$$$$###
""""""""""######$$$$$$$$$$$$$$$$$$$$$%%%%%%%%&&&'(+:+/*&%%%%%%$$$$$######
""""""""""""########$$$$$$$$$$$$$$$$$$$$$%%%%%%&'-+&&&%%%%$$$$$$#########
"""""""""""""############$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$###############
$ _
...das freut den "No source, no go!"-Verfechter natürlich...
;-)
----------8<-----{In seinem nudeligen Namen: Pasta & Ramen!}----->8----------