Mercurial > repo
view interps/egobf/PORTING @ 11688:06331fefa90d draft
<b_jonas> perl -e for $e ("i","u"){ $f="bin/date$e"; open my$i,"<",$f or die "error open $f r"; local$/; $s=<$i> or die; $s=~s/"\\+%Y/\\${1:+-d "\\$1"} $&/ or die; open $o,">",$f or die "error open $f w: $!"; print $o $s or die; close $o or die; print "OK $f\\n" }
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 04 Jan 2019 21:30:13 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
I made EgoBF relatively easy to port. The interpreter and standard compiler portions shouldn't be a problem, but C2M is architecture-specific. If you would like me to port it to your architecture, please do the following: cd src/c2m/tests gcc -O0 -g test.c -o a0.out gcc -O1 -g test.c -o a1.out objdump -S -t a0.out > test_{arch}_{os}.s objdump -S -t a1.out >> test_{arch}_{os}.s (Replace {arch} with your architecture and {os} with your OS) Then send that file (test_{arch}_{os}.s) to me <AKAQuinn@hotmail.com>, and I may be able to port it. But I can't test it, so you'll still need to help ;)