Ok. I'll toot my own horn. In ~1983 I wrote the first iteration of Sensible Solutions for O'Hanlon Computer Systems using MASM. Of course, it had to run in less than 64k. Basically, it was a VM that would run pseudo code. And, the compiler was written in ASM also. In 1985 I wrote TAS, again using MASM. Again, a VM. The language it compiled (in both cases) was written to create business accounting applications, which…
Creating a language using only assembly language
41–50 of 67 posts
Re: Creating a language using only assembly language
#42Earlier quoted context omitted.
"A real language built in assembler would be headaches" Depending on what you consider a "real language", it's not that bad. I did a Forth in 80x86 assembler years ago, and it was reasonably easy and fun. (I did use the BIOS routines for keyboard/screen I/O...they were one character at a time, IIRC).
It does depend on the definition. I'd disqualify Forth as a real language, too. I've always considered it a cross-platform, macro assembler for an abstract, machine design. Like P-code was but more flexible. It's definitely interesting and useful but doesn't feel like a 3GL or even a full LISP. I'd see it as a bootstrap (firmware) or compilation target (eg BootSafe) of a high-level language. Cool that you assembled o…
Re: Creating a language using only assembly language
#43Earlier quoted context omitted.
"A real language built in assembler would be headaches" Depending on what you consider a "real language", it's not that bad. I did a Forth in 80x86 assembler years ago, and it was reasonably easy and fun. (I did use the BIOS routines for keyboard/screen I/O...they were one character at a time, IIRC).
It does depend on the definition. I'd disqualify Forth as a real language, too. I've always considered it a cross-platform, macro assembler for an abstract, machine design. Like P-code was but more flexible. It's definitely interesting and useful but doesn't feel like a 3GL or even a full LISP. I'd see it as a bootstrap (firmware) or compilation target (eg BootSafe) of a high-level language. Cool that you assembled o…
Re: Creating a language using only assembly language
#44Earlier quoted context omitted.
It does depend on the definition. I'd disqualify Forth as a real language, too. I've always considered it a cross-platform, macro assembler for an abstract, machine design. Like P-code was but more flexible. It's definitely interesting and useful but doesn't feel like a 3GL or even a full LISP. I'd see it as a bootstrap (firmware) or compilation target (eg BootSafe) of a high-level language. Cool that you assembled o…
Forth has an ANSI standard as a programming language. What more do you need? What features does a language require to make it a 3GL?
So, I just looked up the wikipedia article to find the same languages but also that anything above assembler is technically a 3GL. Even HLA is a 3GL by that standard. So, Forth is... at the lowest rung... a 3GL. By that standard, so are macro-assemblers with control flow and typing constructs. Personally, I think that definition is crap and we should reserve 3GL for languages that significantly raised abstraction like those I cited.
This is just a matter of opinion, though. Each will see it a different way and there's no right answer. That's what I've learned researching after your comment.
Re: Creating a language using only assembly language
#45Re: Creating a language using only assembly language
#46Re: Creating a language using only assembly language
#47Earlier quoted context omitted.
This is the first time I see Urbit, looks interesting. Do you have some context about the project? Project homepage ( http://urbit.org/ ) doesn't seem to explain anything and Github page just describes the language.
The author is Curtis Yarvin ( https://vimeo.com/75312418 ). You can search also for "Moldbug". He has an old blog. He is also a very controversial guy with libertarian ideas. His project is very neat with distributed processes called "ships" or "submarines" with rights based on reputation. It's a little bit like Erlang processes but with an anti-spam security model.
Re: Creating a language using only assembly language
#48Re: Creating a language using only assembly language
#49I wrote my own Lisp compiler in college using this as the foundation: http://schemeworkshop.org/2006/11-ghuloum.pdf