Re: I need a new compiler...
- From: Michael Wojcik <mwojcik@xxxxxxxxxxx>
- Date: Fri, 12 Dec 2008 12:24:18 -0500
Howard Brazee wrote:
On Fri, 12 Dec 2008 11:01:50 +0000 (UTC), docdwarf@xxxxxxxxx () wrote:
Really? I thought that using a language which is assembled into object
languange with a one-to-one statement correlation 'is like using assembley
language', while using a language which gets a single statement compiled
into one or more object language ('machine code') statements isn't.
I had a macro-assembler for the Atari 800 in which I could write what
looked like Basic, and then assemble it. It was kind of fun, but
not as much fun as Action! or Forth which I had for the same computer.
The distinction between assembled and compiled languages is vague at best.
The iSeries (nee AS/400) has an "MI" ("Machine Instruction") language
that looks like assembly. It's what iSeries compilers produce, or at
least what they used to produce back when I did a lot of AS/400 work.
But what it generates are not machine instructions for the POWER/AS
CPUs that those machines run. MI is a CISC language and POWER/AS is a
RISC chip with an instruction set that doesn't look anything like MI;
and because the iSeries is a capability architecture, you don't really
want people generating arbitrary object code anyway.
There's a .NET CLI "assembler" that lets you create programs from the
low-level CLI instructions. Those aren't the instruction set of the
actual physical CPU; it's a virtual assembly language.
Run an emulator such as Hercules and assemble and run a program under
it. Those instructions aren't "machine code" for the physical CPU
running them either.
The "esoteric" (aka "evil") language Brainfuck is a low-level language
where each "statement" corresponds to a single instruction of the
virtual machine. It's a very primitive and bizarrely arbitrary virtual
machine, but there's a one-to-one mapping.
The even more esoteric language Unlambda is rather low-level too, and
all of its builtins are primitive operations. Of course, they're
operations like the s-combinator and k-combinator, but the each have a
concise formal definition and do a single thing.
Which of those is assembly language?
--
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University
.
- Follow-Ups:
- Re: I need a new compiler...
- From:
- Re: I need a new compiler...
- From: Howard Brazee
- Re: I need a new compiler...
- References:
- I need a new compiler...
- From: Paul H
- Re: I need a new compiler...
- From: Pete Dashwood
- Re: I need a new compiler...
- From: Paul H
- Re: I need a new compiler...
- From: Richard
- Re: I need a new compiler...
- From:
- Re: I need a new compiler...
- From: Howard Brazee
- I need a new compiler...
- Prev by Date: Re: It's COBOL, Jim, but not as we know it...
- Next by Date: Re: I need a new compiler...
- Previous by thread: Re: I need a new compiler...
- Next by thread: Re: I need a new compiler...
- Index(es):
Relevant Pages
|