Mercurial > repo
view interps/egobf/PORTING @ 3904:49ab5b2e2ebf
<boily> echo -e "#!/usr/bin/env python\\n# -*- encoding: utf-8 -*-\\nimport sys\\nimport unicodedata\\ntry:\\n print u\'\'.join(map(unicodedata.lookup, sys.argv[1:])).encode(\'utf-8\')\\nexcept KeyError:\\n print u\'Unknown character.\'" >bin/unicode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 15:25:39 +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 ;)