0

How to create own compiler?

i need to make an own compiler for sorting out electrical circuits like if i just entered what all output i need from a circuit a app should be able to create the circuit and show it in line diagram including diodes resistors and all

9th Jan 2018, 12:34 PM
Rajat Hongal
Rajat Hongal - avatar
1 Answer
+ 2
I would suggest you to use C++, because of the powerful inheritance and speed. 1. you'll need to plan and design your syntax, and what will do each one. 2. you'll need to create a parser, to read your file, and remove spaces and tabs, and insert them to STL. 3. you'll need to make your code executable when you compiling, so you need to teach the Compiler how to read the data from STL, and how to run it.
9th Jan 2018, 12:47 PM
Cain Eviatar
Cain Eviatar - avatar