Turing in C++
Author |
Message |
Srlancelot39

|
Posted: Mon Sep 20, 2010 6:45 pm Post subject: RE:Turing in C++ |
|
|
ok so...this program can run Turing code in C++?....can it translate Turing code into C++ somehow?
I'm very interested in this because I have a 5.5k line Turing rpg (Grail Quest if any of you remember it) that I would like to rewrite in C++. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
andrew.
|
Posted: Tue Sep 21, 2010 11:35 am Post subject: RE:Turing in C++ |
|
|
Basically, it is a Turing compiler/interpreter written in C++. This means that it will still read Turing source code, and should produce the same output as the "real" Turing compiler. So it doesn't change Turing source into C++ source or C++ into Turing.
The reason this is being developed is because the real Turing program is discontinued, and the only way to implement new functions and features into the language is to create your own compiler (because Holtsoft won't give us their source). |
|
|
|
|
 |
mirhagk
|
Posted: Tue Sep 21, 2010 2:50 pm Post subject: RE:Turing in C++ |
|
|
Well actually I started working on more what he is actually talking about. Stage one was to create a C++ library/module that worked identically to the way Turing does things, then stage two would be basically a search and replace program to replace
if (condition) then
statements
end if
with
if (condition){
statements
}
Unfortuneatly neither one has come very far, as I was sidetracked with schoolwork and trying to figure out how to do a lot of the stuff Turing does. I was thinking about doing this all in C# with XNA, since that is simple to use, yet powerful. |
|
|
|
|
 |
Srlancelot39

|
Posted: Tue Sep 21, 2010 11:58 pm Post subject: RE:Turing in C++ |
|
|
Very impressive! =P |
|
|
|
|
 |
|
|