Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing in C++
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2, 3, 4
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Srlancelot39




PostPosted: 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
Sponsor
sponsor
andrew.




PostPosted: 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




PostPosted: 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




PostPosted: Tue Sep 21, 2010 11:58 pm   Post subject: RE:Turing in C++

Very impressive! =P
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 4 of 4  [ 49 Posts ]
Goto page Previous  1, 2, 3, 4
Jump to:   


Style:  
Search: