Author Topic: scripts doesn't work  (Read 4069 times)

jipo

  • New to the forum
  • *
  • Posts: 8
scripts doesn't work
« on: June 11, 2013, 12:43:07 PM »

i noticed that scripts doesn't work on the latest nightly builds. i also searched the forum if there is some announcement about it, maybe it's temporary disabled because of memory usage, but i didn't find any notice.
i am using 5d mk3 and 5d mk2, with the same result.

any comment from the devs? thaks a lot


a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: scripts doesn't work
« Reply #1 on: June 11, 2013, 12:51:47 PM »
Current scripts only work in PicoC, not in TCC.

Use the official nightly builds, not the raw ones.

jipo

  • New to the forum
  • *
  • Posts: 8
Re: scripts doesn't work
« Reply #2 on: June 11, 2013, 01:33:32 PM »
ok alex, thanks for the answer. why is it disabled in the raw nightly builds? memory? for me there is not a way back to pre-raw builds :-)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: scripts doesn't work
« Reply #3 on: June 11, 2013, 01:40:10 PM »
PicoC is going to be replaced with TCC (and raw builds use TCC, both as module loader and as scripting engine).

There is a difference between the dialects: TCC needs a main function, because it's ANSI C, but PicoC just executes whatever it finds there. Also, PicoC API is not yet ported to TCC.