Page 2 of 4

Re: Replace LiveCode Script with JavaScript, forever

Posted: Sat Jan 04, 2020 11:06 pm
by mwieder
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"

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 2:53 pm
by capellan
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

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 2:55 pm
by Klaus
Replace LiveCode Script with JavaScript, forever
Well the headline cannot be misinterpreted, I think! :D

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 3:29 pm
by richmond62
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 . . .

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 3:35 pm
by Klaus
richmond62 wrote:
Tue Jan 07, 2020 3:29 pm
The OP wants the IDE, the objects and the functionality of LiveCode but with
JavaScript in the scriptEditor . . .
Yep, exactly what the headline says! 8)

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 6:32 pm
by mwieder
Given that it's the OP's first and only post I suggest we ignore the troll.

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 6:41 pm
by Klaus
All in all, I found it quite amusing. :-)

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 6:46 pm
by mwieder
JesusPopcorn.gif
JesusPopcorn.gif (198.92 KiB) Viewed 1303 times

Re: Replace LiveCode Script with JavaScript, forever

Posted: Tue Jan 07, 2020 7:48 pm
by capellan
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

Re: Replace LiveCode Script with JavaScript, forever

Posted: Sun Feb 02, 2020 9:17 pm
by sritcp
dalkin wrote:
Fri Jan 03, 2020 7:54 am
"The english language, use it to write code." The motive at the core of LC.
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).
FourthWorld wrote: ...it's readable enough to be almost self-documenting....
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.

Just a different point of view from a different consumer segment.

Regards,
Sri

Re: Replace LiveCode Script with JavaScript, forever

Posted: Sun Feb 02, 2020 9:54 pm
by mwieder
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.
Haw! If English were logical we wouldn't have to fiddle with irregular verbs.
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.

:P

Re: Replace LiveCode Script with JavaScript, forever

Posted: Mon Feb 03, 2020 12:08 am
by richmond62
Human languages are not logical for 2 very solid reasons:

1. Languages have evolved rather than been created.
-
god-creates-the-world-pandora.jpg
-
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. 8)

Re: Replace LiveCode Script with JavaScript, forever

Posted: Mon Feb 03, 2020 2:19 am
by sritcp
Some languages are more logical than others ....
(as Richmond might probably know ...! )

Sri

Re: Replace LiveCode Script with JavaScript, forever

Posted: Mon Feb 03, 2020 2:24 am
by sritcp
mwieder wrote:
Sun Feb 02, 2020 9:54 pm
And "is the turkey ready to eat?" would mean only one thing.
:P
I thought they were asking if I was hungry. Is there another meaning? :P

Re: Replace LiveCode Script with JavaScript, forever

Posted: Mon Feb 03, 2020 4:06 pm
by dunbarx
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