Replace LiveCode Script with JavaScript, forever

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post 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"
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Replace LiveCode Script with JavaScript, forever

Post 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
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by Klaus »

Replace LiveCode Script with JavaScript, forever
Well the headline cannot be misinterpreted, I think! :D
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Replace LiveCode Script with JavaScript, forever

Post 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 . . .
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by Klaus »

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 . . .
Yep, exactly what the headline says! 8)
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by mwieder »

Given that it's the OP's first and only post I suggest we ignore the troll.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by Klaus »

All in all, I found it quite amusing. :-)
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by mwieder »

JesusPopcorn.gif
JesusPopcorn.gif (198.92 KiB) Viewed 43900 times
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Replace LiveCode Script with JavaScript, forever

Post 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
sritcp
Posts: 431
Joined: Tue Jun 05, 2012 5:38 pm

Re: Replace LiveCode Script with JavaScript, forever

Post 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
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post 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
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Replace LiveCode Script with JavaScript, forever

Post 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)
sritcp
Posts: 431
Joined: Tue Jun 05, 2012 5:38 pm

Re: Replace LiveCode Script with JavaScript, forever

Post by sritcp »

Some languages are more logical than others ....
(as Richmond might probably know ...! )

Sri
sritcp
Posts: 431
Joined: Tue Jun 05, 2012 5:38 pm

Re: Replace LiveCode Script with JavaScript, forever

Post 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
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Replace LiveCode Script with JavaScript, forever

Post 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
Post Reply