Great idea, why don't I do that...
perl -e '$/ = ""; eval <STDIN>;'
That wasn't so hard. :)
-Ted | [reply] [Watch: Dir/Any] [d/l] |
Oh, I thought you wanted a perl program that could
simulate running assembler programs. :) Outputting assembler
is definitly non-trivial. I wonder if it could fit in 512
bytes, so I could submit it to the obfuscated perl contest...
-Ted
| [reply] [Watch: Dir/Any] |
I need access to a demo/free download for a sparc assembler,
gdb, or any utility that assemble .s files.
Isaac
| [reply] [Watch: Dir/Any] |
That doesn't output assembler, which I assume you wanted. I was talking about a perl->assembly converter (since my main complaint with assembler is readability, even with m4 codes)
| [reply] [Watch: Dir/Any] |