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.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2955
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by mwieder » Sat Jan 04, 2020 11:06 pm

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: 629
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by capellan » Tue Jan 07, 2020 2:53 pm

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: 11569
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by Klaus » Tue Jan 07, 2020 2:55 pm

Replace LiveCode Script with JavaScript, forever
Well the headline cannot be misinterpreted, I think! :D

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 4136
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Replace LiveCode Script with JavaScript, forever

Post by richmond62 » Tue Jan 07, 2020 3:29 pm

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: 11569
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by Klaus » Tue Jan 07, 2020 3:35 pm

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)

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2955
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by mwieder » Tue Jan 07, 2020 6:32 pm

Given that it's the OP's first and only post I suggest we ignore the troll.

Klaus
Posts: 11569
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by Klaus » Tue Jan 07, 2020 6:41 pm

All in all, I found it quite amusing. :-)

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2955
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by mwieder » Tue Jan 07, 2020 6:46 pm

JesusPopcorn.gif
JesusPopcorn.gif (198.92 KiB) Viewed 1311 times

capellan
Posts: 629
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by capellan » Tue Jan 07, 2020 7:48 pm

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: 425
Joined: Tue Jun 05, 2012 5:38 pm
Location: Alexandria, Virginia

Re: Replace LiveCode Script with JavaScript, forever

Post by sritcp » Sun Feb 02, 2020 9:17 pm

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: 2955
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Replace LiveCode Script with JavaScript, forever

Post by mwieder » Sun Feb 02, 2020 9:54 pm

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: 4136
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Replace LiveCode Script with JavaScript, forever

Post by richmond62 » Mon Feb 03, 2020 12:08 am

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: 425
Joined: Tue Jun 05, 2012 5:38 pm
Location: Alexandria, Virginia

Re: Replace LiveCode Script with JavaScript, forever

Post by sritcp » Mon Feb 03, 2020 2:19 am

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

Sri

sritcp
Posts: 425
Joined: Tue Jun 05, 2012 5:38 pm
Location: Alexandria, Virginia

Re: Replace LiveCode Script with JavaScript, forever

Post by sritcp » Mon Feb 03, 2020 2:24 am

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: 6518
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Replace LiveCode Script with JavaScript, forever

Post by dunbarx » Mon Feb 03, 2020 4:06 pm

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

Return to “Feature Proposals”