Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4571

Re: Making a C compiler in Rust (was: Re: Resources to learn common lisp?)

From Michael S <already5chosen@yahoo.com>
Newsgroups comp.lang.lisp, comp.os.msdos.programmer, comp.lang.misc
Subject Re: Making a C compiler in Rust (was: Re: Resources to learn common lisp?)
Date 2026-08-21 14:13 +0300
Organization A noiseless patient Spider
Message-ID <20260821141343.00003ccc@yahoo.com> (permalink)
References (19 earlier) <114j8kl$34k3s$1@dont-email.me> <YlabS.636$s8Z7.262@fx09.ams4> <8733wtuwti.fsf@gmail.com> <D1RhS.105827$pS.21221@fx16.ams4> <20260821113438.83c34ecb04c6b1f3473a5776@127.0.0.1>

Cross-posted to 3 groups.

Show all headers | View raw


On Fri, 21 Aug 2026 11:34:38 +0100
"Kerr-Mudd, John" <admin@127.0.0.1> wrote:

> On Fri, 21 Aug 2026 13:06:42 +0800
> Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote:
> 
> > 
> > Plus, I have several good books on D.O.S. assembly coding on my
> > shelf, I should use them!
> > 
> > It'll be a good exercise between coding a C compiler in Rust, so I
> > have added comp.lang.misc to this discussion, since I am completely
> > unaware of a group dedicated to Rust.  How would we make one?
> > 
> > If you find yourself so inclined to make another C compiler in
> > Rust, or even Common Lisp, then the book
> > 
> >               /Writing a C Compiler/,
> >    /Build a Real Programming Language from Scratch/
> > 
> > by Nora Sandler is not at all recommended.  I'm going through it,
> > but I feel it should be much better.  At least the exercises are
> > amusing!
> > 
> > 
> > Have fun, and please enjoy this minor tangent in our discussion!  
> 
> I don't know of any attempts to port (I guess a subset at best) Lisp
> or Rust to DOS. And I don't think there's many willing to try it in
> asm. BICBW! 

I would not be so sure about *attempts* to port Rust to DOS.
But It sounds certain that there were no successful ports.
Although I can imagine cross-compiler running on one of the popular
LLVM hosts with DOS as a target. May be, not for a full Rust, but for
useful subset. It's not impossible, just pointless.

Now, Lisp is a different story. There were/are many working Lisp systems
running on MS-DOS.

https://www.reddit.com/r/lisp/comments/1c3qdos/lisp_implementation_for_16_bit_dos_pcs/

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Making a C compiler in Rust (was: Re: Resources to learn common lisp?) Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-21 13:06 +0800
  Re: Making a C compiler in Rust (was: Re: Resources to learn common lisp?) "Kerr-Mudd, John" <admin@127.0.0.1> - 2026-08-21 11:34 +0100
    Re: Making a C compiler in Rust (was: Re: Resources to learn common lisp?) Michael S <already5chosen@yahoo.com> - 2026-08-21 14:13 +0300
      Re: Making a C compiler in Rust Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-22 02:23 +0800

csiph-web