Can we write our own compiler?

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
Harsh Deol
New Member
Posts: 9
Joined: Sat Nov 22, 2014 12:32 pm

Can we write our own compiler?

Post by Harsh Deol »

Hi,

This is just a thought at this point in time but with some direction maybe I can do it.

Can we write our own compiler? I mean if I want to write a COBOL compiler, how can I get started? Could anyone guide please?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we write our own compiler?

Post by Robert Sample »

This would be a MAJOR undertaking. You need to understand the COBOL syntax, and you need to understand the various assembler operations, and you need to understand COBOL data formats, etc. and etc. and etc.

I could probably do it in a year or so of dedicated effort, but then I've got more than 40 years of mainframe experience (a lot of it in COBOL). If you really want to start doing this, I recommend a Google search for writing a compiler which will give you plenty of reading material and where to get started.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”