Sure, here you go.
That's the one that Soma uploaded to the Bitbucket. If that doesn't work, let us know what messages etc you get.
--
Mats
Sure, here you go.
That's the one that Soma uploaded to the Bitbucket. If that doesn't work, let us know what messages etc you get.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I've just worked over the token_scanner code to make it "has-a" instead of "is-a". It makes the code much easier to read, I think.
Expect more work in the tokenizer area, see the repo for more details.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
It runs fine for me. What system are you running? I wonder if running strip.exe (a program to remove unnecessary information from the executable) had anything to do with it? I've included a the pre-stripped version here, just in case you want to try it out. Another option (though I'm not sure you're familiar with) is to build the program from the source with a C++ compiler.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
When you load minibasic, or when you load a basic program into minibasic?
If the latter, what program are you loading?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I downloaded the zip-file onto my work-machine, and although I haven't got any basic file to load into it, it certainly works as far as getting a "Ready" prompt, and a 10 Print "Hello, World" works fine too.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
>> I've just worked over the token_scanner code to make it "has-a" instead of "is-a". It makes the code much easier to read, I think.
The more I think of, the more that makes sense. After all, half of the code was sprinkled with token_scanner:: qualifiers, to avoid potential confusion. So, yeah, good call.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Now it works.
Paul
OK, good. Let us know if you find any bugs or have any problems with it.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
I've just updated the code quite dramatically. I'm not sure at this point if I've broken something - running pitman in game-mode seems to work correctly.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Alright. I'm tied up in a project at the moment, but as soon as I have a chance I'll check it out.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Looks good.
Paul
>> How's the port coming along?
I was actually waiting to see if you had found any bugs or missing features. If not, I suppose we can make a final release out of it, but I just wanted to make sure that everything was working properly before doing that.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }