Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: Assembler?...

by swiftone (Curate)
on Oct 23, 2000 at 22:22 UTC ( #37980=note: print w/ replies, xml ) Need Help??


in reply to Assembler?...
in thread Other programming language I most often use

You should write an assembler in Perl, that accepts dumbed down perl syntax. :)


Comment on RE: Assembler?...
RE: Assembler?...
by tedv (Pilgrim) on Oct 23, 2000 at 22:32 UTC
    Great idea, why don't I do that...

    perl -e '$/ = ""; eval <STDIN>;'

    That wasn't so hard. :)

    -Ted
      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)
      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
        I need access to a demo/free download for a sparc assembler, gdb, or any utility that assemble .s files. Isaac

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://37980]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2015-07-04 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls