Re: I need a new compiler...



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
.



Relevant Pages

  • Re: PLC software
    ... VHDL is a programming language used in preparing configuration files ... chip manufacturer specific as to what software you have to use to accomplish ... code, compile, and then assemble it using the Turbo Assembler, then ... with microcontrollers) the specific hardware, ...
    (sci.electronics.basics)
  • Re: PLC software
    ... VHDL is a programming language used in preparing configuration files ... chip manufacturer specific as to what software you have to use to ... with microcontrollers) the specific hardware, ... I just thought that one would be able to write a program, assemble it, ...
    (sci.electronics.basics)
  • Re: EXE Disassempler and assempler
    ... >>First its not a disassempler or assempler or assemply. ... >>The root word is assemble. ... than complimenting the person of his/her usage of the language (especially ... languages have their spelling & meaning-of-words -differences ...). ...
    (comp.lang.asm.x86)
  • Re: C Compilation..
    ... machine's assembly language instead. ... Most C statements map quite naturally to only a few assembler instructions. ... Theoretically you could also have a bad C compiler, but in practise such compilers aren't released. ...
    (comp.lang.c)
  • Re: Taking programing back to the source.
    ... other language to tie things together, ... I never thought about a 3D representation when programming in assembly ... The purpose it to get more people to become interested in assemble ... programs are so bloated and rely on so many subsystems that, ...
    (comp.games.development.design)