Author Topic: Is a self-hosting c2 compiler a project goal?  (Read 5837 times)

robheus

  • Newbie
  • *
  • Posts: 1
    • View Profile
Is a self-hosting c2 compiler a project goal?
« on: December 15, 2019, 02:54:54 PM »
c2 is currentely implemented in C++. But would implementing a c2 compiler in c2 be a project goal?
« Last Edit: December 15, 2019, 03:45:48 PM by robheus »

lerno

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: Is a self-hosting c2 compiler a project goal?
« Reply #1 on: December 16, 2019, 10:03:51 PM »
I started on a C2 compiler written in C, since moving form C to C2 would be pretty easy. I didn't finish it though.

lerno

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: Is a self-hosting c2 compiler a project goal?
« Reply #2 on: December 16, 2019, 10:04:25 PM »
Also, self hosting creates a lot of problems with bootstrapping, so it might not be a great thing to do anyway.