I am considering Code::Blocks to develop a AI scripted language.
Here's a snippet:
.(out("hello world").(!]
Which should print the text on the console.
How should I do this with Code::Blocks?
Thanks,
Stefaan Meeuws
Quote from: rollingstonedev on November 26, 2015, 10:26:43 PM
I am considering Code::Blocks to develop a AI scripted language.
what is a AI scripted language?
Quote from: rollingstonedev on November 26, 2015, 10:26:43 PM
How should I do this with Code::Blocks?
according your information i would write it like this:
std::string in;
std::cin >> in;
if(in.compare(".(out("hello world").(!]"))
std::cout << "hello world";
return 0;
greetings