Construct Classic (release 1.2) handles python scripting.
This gives you the opportunity to make your own code into plugins, that you can then use as regular construct's objects.
Now there's no code interpretor directly into the IDE. If you really want to use Construct and feed it with code, go python and Construct Classic r1.2
As far as lua's concerned, it never was implemented in neither CC or C2 to my knowledge.