Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
How to construct SRS for compiler construction project?
Posted
Comments
Sergey Alexandrovich Kryukov 27-Nov-11 15:47pm    
The question is too general.
--SA

Yes, the question is too general. It cannot be answered by pointing out any particular techniques or sharing any professional "secrets". It's just a method of education is some practical computer science, practice itself and familiarity with existing requirements and methods of creating of such requirements described in widely known literature. Also, the problem of getting such requirements cannot be considered without connection to the development of software and development methods. In particular, you should learn literature about Unified Software Development Process (http://en.wikipedia.org/wiki/Unified_Process[^]), but a lot more, not just this.

You also need to learn and about compilers and try to use experience collected in their development by generations of scientists and developers, see:
http://en.wikipedia.org/wiki/Compiler[^],
http://en.wikipedia.org/wiki/Compiler-compiler[^].

And how about your education in computer languages in general? …Well, if I keep referencing all what's involved, I will never complete this post. Enough is enough. :-)

—SA
 
Share this answer
 
v2
 
Share this answer
 
Comments
BrainlessLabs.com 27-Nov-11 23:44pm    
The main thing about writing an SRS is to understand what the customer wants. If this project is for marks or grades then you have to understand what the teachers want. They may want to see that you have learned certain techniques in class, etc. If this is for your own satisfaction then you have to think why you want a new compiler.
1. You want to learn compiler writing? Then you can go through any book and do the assignments, that will be better than writing your own srs at this stage.
2. If you want to have a improved compiler, then first go through the downfalls of other compilers you want to improve on.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900