These are chat archives for ChaiScript/ChaiScript

7th
Oct 2016
Jason Turner
@lefticus
Oct 07 2016 13:41
btw, @FunMiles I'm not able to use class default initializers, they are not supported yet in g++4.6, so I cannot use that technique in the 5.x branch of chaiscript
Daniel Guzman
@roig
Oct 07 2016 14:55
@lefticus The develop branch now compiles in MSVC, and our game is working great! :clap:
Jason Turner
@lefticus
Oct 07 2016 15:02
Cool. So no problems moving to the new version? Just had to choose how you wanted to now initialize the library? @roig
Daniel Guzman
@roig
Oct 07 2016 15:07
No problems so far. Do you mean with which options we initialize Chaiscript?
Jason Turner
@lefticus
Oct 07 2016 15:09
yeah
the actual object itself
Daniel Guzman
@roig
Oct 07 2016 15:10
we used chaiscript::ChaiScript
all default
Jason Turner
@lefticus
Oct 07 2016 15:38
have you noticed any performance improvement?
Daniel Guzman
@roig
Oct 07 2016 15:54
yes
:+1:
Jason Turner
@lefticus
Oct 07 2016 15:56
I'm still finding some issues on the develop branch before I release it for real
Daniel Guzman
@roig
Oct 07 2016 15:56
no problem, take your time. Btw the offending line was:
(void)std::initializer_list<int>{ (p = T::optimize(p), 0)... };
T::optimize
Jason Turner
@lefticus
Oct 07 2016 16:04
Oh, interesting. I'll figure it out
it should be calling the correct version on *this automatically
Daniel Guzman
@roig
Oct 07 2016 16:05
maybe it's the compiler... but I updated MSVC 2015 xD
to the latest version
Jason Turner
@lefticus
Oct 07 2016 16:13
Yeah, it must be a bug in msvc, but one I can fix
that is, work around
I forget, @roig what game are you working on again?
Daniel Guzman
@roig
Oct 07 2016 16:20
We are doing a shoot em up, we are still prototyping the gameplay :smile: . It's an indie project that we are doing outside work hours, no full time for now. And of course, in our simple engine we are using chaiscript for implementing the logic of our entities.
Bartek
@gogo2
Oct 07 2016 19:43
@lefticus Do you have chaiscript grammar documented in bnf or other notation?
but does exist