The Environment

+4 Sheldon Juncker · February 12, 2015
Okay, we're about to get started!

We're going to be using C++ with Flex and Bison (Lex and Yacc) to create our compiler.

The first thing that we need to decide is what OS to use for development? It's probably easier to configure all of these tools in Linux, but using MingW in Windows is not too bad.

I'm currently using Windows, but I can change to Linux (Ubuntu) if need be.

What should we do? I think that it's best if we all develop on the same environment.

Post a Reply


- page 1
Oldest  Newest  Rating
0 Abdullah Nauman · February 12, 2015
I think windows is easier since everyone pretty much has windows. I do'nt really have a spare computer that I can format, and the USB version of ubuntu does not save anything. 
0 Landon Luman · February 13, 2015
I don't have the flashdrive either, and Virtual Machines that Virtual Box don't work well at all for me. All that .iso crap confuses me
0 Abdullah Nauman · February 13, 2015
Yea, but I have a pretty bad computer, and only 5gb left. So a virtual machine, would be extremely slow. Or might just refuse to work.  I think Windows is best. 
0 Sheldon Juncker · February 14, 2015
Okay, let's go with Windows! Everyone will need to install MingW with Flex, Bison, and a compiler for C and C++. All of these tools can be downloaded using the MingW Installer for Windows. I might actually make a tutorial showing how to get the environment set up correctly. 

You can install MingW from:

Does anyone want me to make that tutorial?
0 Daniel Collier · February 15, 2015
id appreciate the tutorial, just to make sure we all have to same setup
0 Sheldon Juncker · February 15, 2015
Okay, I'll try to get that done today after I finish up some homework for tomorrow's classes. :)
0 Daniel Collier · February 15, 2015
thanks man :)
0 Abdullah Nauman · February 15, 2015
So we need 

  • Flex 

  • Bison 

  • CodeBlocks

  • MinGW  

  • That's all we need? 
0 Sheldon Juncker · February 15, 2015
We don't even need CodeBlocks, but it might come in handy. It comes with MinGW, but I need to find out if it comes with all of the tools that we need.

I'll find out.
0 Sheldon Juncker · February 15, 2015
Yes, CodeBlocks comes in a version with MinGW, but it doesn't come with Flex or Bison. It will probably be best if we all use CodeBlocks and install Flex and Bison manually. That will be a lot easier.

I'll figure out how difficult it will be to install Flex and Bison along with CodeBlocks.
  • 1
  • 2

Orion Programming Language Project


This forum is for the users on TNB who are working on developing the Orion programming language. Anyone is welcome to take part in this project. More information will be posted soon.