Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCL implementation in Javascript

34 views
Skip to first unread message

traanf

unread,
Apr 4, 2007, 12:56:46 AM4/4/07
to
I am looking for an TCL interpreter implementation in Javascript.
Anyone knows if one exists?

Thanks!
Tuan-Anh

Salvatore Sanfilippo

unread,
Apr 4, 2007, 4:45:25 PM4/4/07
to

Hello,

To Translate Picol (http://antirez.com/page/picol) into Javascript
should not be too hard.

I may do it just for fun or for my own web application one day
in the future, but I'm not sure.

Regards,
Salvatore

Uwe Klein

unread,
Apr 4, 2007, 5:25:17 PM4/4/07
to

Gerald W. Lester

unread,
Apr 4, 2007, 7:22:38 PM4/4/07
to

Seems like Tcl->Javascript is outside of their patent.


--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+

Uwe Klein

unread,
Apr 5, 2007, 4:06:04 AM4/5/07
to
Gerald W. Lester wrote:
> Uwe Klein wrote:

>> they have left out tcl, but all the other big names are involved:
>> http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&r=1&f=G&l=50&co1=AND&d=PG01&s1=morfik&OS=morfik&RS=morfik
>
>
>
> Seems like Tcl->Javascript is outside of their patent.

Yes i mentioned that.
Expressing one language in another one is not really new either.
On the wiki alone is enough to fill your pockets with prior art.

uwe

Larry W. Virden

unread,
Apr 5, 2007, 7:32:18 AM4/5/07
to
On Apr 4, 5:25 pm, Uwe Klein <uwe_klein_habertw...@t-online.de> wrote:
> they have left out tcl, but all the other big names are involved:http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=...


Maybe there's a good reason to keep a low public profile as a
programming language - the patent attorneys don't know about Tcl, so
they don't try to include us in patents to prevent us from doing our
jobs!

Gerald W. Lester

unread,
Apr 5, 2007, 5:45:05 PM4/5/07
to
Uwe Klein wrote:
> ...

> Expressing one language in another one is not really new either.

You mean like what compilers do?

Uwe Klein

unread,
Apr 6, 2007, 6:10:14 AM4/6/07
to
Gerald W. Lester wrote:
> Uwe Klein wrote:
>
>> ...
>> Expressing one language in another one is not really new either.
>
>
> You mean like what compilers do?
>
Compilers? whats that?

uwe,
running, not walking to the patent office.

Patrick Finnegan

unread,
Apr 8, 2007, 2:25:37 PM4/8/07
to

For access to Java libraries see JACL or TclBlend at www.patrickfinnegan.com.

SM Ryan

unread,
Apr 8, 2007, 3:45:11 PM4/8/07
to
"Patrick Finnegan" <finnegan...@gmail.com> wrote:
#
# traanf wrote:
# > I am looking for an TCL interpreter implementation in Javascript.
# > Anyone knows if one exists?
# >
# > Thanks!
# > Tuan-Anh
#
# For access to Java libraries see JACL or TclBlend at www.patrickfinnegan.com.

Javascript and Java are very different languages.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
Haven't you ever heard the customer is always right?

Patrick Finnegan

unread,
Apr 9, 2007, 11:42:07 AM4/9/07
to

SM Ryan wrote:
> "Patrick Finnegan" <finnegan...@gmail.com> wrote:
> #
> # traanf wrote:
> # > I am looking for an TCL interpreter implementation in Javascript.
> # > Anyone knows if one exists?
> # >
> # > Thanks!
> # > Tuan-Anh
> #
> # For access to Java libraries see JACL or TclBlend at www.patrickfinnegan.com.
>
> Javascript and Java are very different languages.
>

Yes they are totally different. I was just wondering whether you
wanted a scripting language that allows access to java libraires but
it sounds like you just want a client side javascript implementation.

joi...@yahoo.com

unread,
Apr 11, 2007, 4:09:02 AM4/11/07
to
Um, I wonder about the opposite, how difficult would be to write a
Javascript interpreter in pure Tcl (there are implementations that
embed C-based implementations http://browsex.com/Javascript.html) :)

Stéphane A.

unread,
Apr 15, 2007, 2:05:50 PM4/15/07
to

> Tuan-Anh

Hi,

I have built a small Tcl implementation in Javascript, stealing most
of the code from Picol.

It seems it might interess you, please go to
http://sarnold.free.fr/experimental/jstcl/tcl.js
and
http://sarnold.free.fr/experimental/jstcl/jstcl.html

Download these two files, then open the HTML file in your favorite
browser,
and play with the two commands yet implemented : "set" and "puts".

I have to warn you that it is a preview, not a real Tcl interpreter,
it crashes when you put two words between double-quotes.

Regards,
Stéphane A.


traanf

unread,
Apr 19, 2007, 4:52:59 AM4/19/07
to
Thanks a lot!
This is what I am looking for :)

On Apr 16, 2:05 am, "Stéphane A." <stephanearn...@yahoo.fr> wrote:
> On 4 avr, 06:56, "traanf" <tra...@gmail.com> wrote:
>

> > I am looking for anTCLinterpreterimplementationin Javascript.


> > Anyone knows if one exists?
>
> > Thanks!
> > Tuan-Anh
>
> Hi,
>

> I have built a smallTclimplementationin Javascript, stealing most


> of the code from Picol.
>
> It seems it might interess you, please go tohttp://sarnold.free.fr/experimental/jstcl/tcl.js

> andhttp://sarnold.free.fr/experimental/jstcl/jstcl.html

suchenwi

unread,
Apr 19, 2007, 12:06:48 PM4/19/07
to
On 15 Apr., 20:05, "Stéphane A." <stephanearn...@yahoo.fr> wrote:
> I have built a small Tcl implementation in Javascript, stealing most
> of the code from Picol.
>
> It seems it might interess you, please go tohttp://sarnold.free.fr/experimental/jstcl/tcl.js
> andhttp://sarnold.free.fr/experimental/jstcl/jstcl.html

>
> Download these two files, then open the HTML file in your favorite
> browser,
> and play with the two commands yet implemented : "set" and "puts".

For more Tcl commands to "steal" (but they are free as air, BSD
license) see
http://mini.net/files/picol0-1-18.zip

0 new messages