Replace LiveCode Script with JavaScript, forever
Moderator: Klaus
Re: Replace LiveCode Script with JavaScript, forever
LOL. To more-or-less quote Woody Allen's gag:
person 1: "This restaurant's food is terrible"
person 2: "Yeah, and the portions are so small"
person 1: "This restaurant's food is terrible"
person 2: "Yeah, and the portions are so small"
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Replace LiveCode Script with JavaScript, forever
If I understand correctly, the OP just wants to use JavaScript libraries along with LCS.
How could this be possible? Maybe, Compiling a JavaScript Engine as a LC external?
Al
How could this be possible? Maybe, Compiling a JavaScript Engine as a LC external?
Al
Re: Replace LiveCode Script with JavaScript, forever
Well the headline cannot be misinterpreted, I think!Replace LiveCode Script with JavaScript, forever

-
- Livecode Opensource Backer
- Posts: 10076
- Joined: Fri Feb 19, 2010 10:17 am
Re: Replace LiveCode Script with JavaScript, forever
As far as I understand things . . .
The OP wants the IDE, the objects and the functionality of LiveCode but with
JavaScript in the scriptEditor . . . .
But . . . I thought LiveCode could already work with other languages . . .
The OP wants the IDE, the objects and the functionality of LiveCode but with
JavaScript in the scriptEditor . . . .
But . . . I thought LiveCode could already work with other languages . . .
Re: Replace LiveCode Script with JavaScript, forever
Yep, exactly what the headline says!richmond62 wrote: ↑Tue Jan 07, 2020 3:29 pmThe OP wants the IDE, the objects and the functionality of LiveCode but with
JavaScript in the scriptEditor . . .

Re: Replace LiveCode Script with JavaScript, forever
Given that it's the OP's first and only post I suggest we ignore the troll.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Replace LiveCode Script with JavaScript, forever
All in all, I found it quite amusing. 

Re: Replace LiveCode Script with JavaScript, forever
Remember that today you could use perl and Lua
with Livecode:
https://sunny-tdz.com/livecode/sunnyperl
And Adobe Director already had Lingo and Javascript syntax:
http://director-online.dasdeck.com/buil ... hp?id=1130
Al
with Livecode:
https://sunny-tdz.com/livecode/sunnyperl
And Adobe Director already had Lingo and Javascript syntax:
http://director-online.dasdeck.com/buil ... hp?id=1130
Al
Re: Replace LiveCode Script with JavaScript, forever
As a hobbyist, this is the way I program in LC.
I (literally) speak out aloud what I want the 'computer' to do.
Then I realize, to my pleasant surprise, that it needs only minor changes to turn it into working LC code!
When it doesn't work, more often than not I realize that I had not enunciated my instruction with adequate specificity.
We all know that programming improves one's logical thinking skills, but when linked to an English-like language, this process can improve one's verbal logic. And most of us think in words, most of the time.
I can see why LC can be particularly useful in primary schools, to develop rigor in thinking (quite apart from programming skills).
I have found this to be very true. Going back to some old half-done project, I am able to get up to speed in record time.FourthWorld wrote: ...it's readable enough to be almost self-documenting....
Just a different point of view from a different consumer segment.
Regards,
Sri
Re: Replace LiveCode Script with JavaScript, forever
Haw! If English were logical we wouldn't have to fiddle with irregular verbs.We all know that programming improves one's logical thinking skills, but when linked to an English-like language, this process can improve one's verbal logic.
And wouldn't have to decide whether "biweekly" meant every two weeks or twice a week.
And "is the turkey ready to eat?" would mean only one thing.

PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 10076
- Joined: Fri Feb 19, 2010 10:17 am
Re: Replace LiveCode Script with JavaScript, forever
Human languages are not logical for 2 very solid reasons:
1. Languages have evolved rather than been created.
- -
2. Humans are not particularly logical.
The fact that LiveCode may echo the way you think does not
prove that your way of thinking is logical; what it might prove
is that because LiveCode resembles English to a certain extent
it is not entirely logical.
Not that that is a bad thing.
Why, as humans are not very logical thinkers, computer languages have
to be logical is not clear to me.
1. Languages have evolved rather than been created.
- -
2. Humans are not particularly logical.
The fact that LiveCode may echo the way you think does not
prove that your way of thinking is logical; what it might prove
is that because LiveCode resembles English to a certain extent
it is not entirely logical.
Not that that is a bad thing.
Why, as humans are not very logical thinkers, computer languages have
to be logical is not clear to me.

Re: Replace LiveCode Script with JavaScript, forever
Some languages are more logical than others ....
(as Richmond might probably know ...! )
Sri
(as Richmond might probably know ...! )
Sri
Re: Replace LiveCode Script with JavaScript, forever
I am struggling with this as well.
The only thing about turkeys that I know of is that turkeys can be done, but not finished. You can be finished, but not done.
Craig
The only thing about turkeys that I know of is that turkeys can be done, but not finished. You can be finished, but not done.
Craig