Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Tao development progress
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Limin Fu  
View profile  
 More options May 17 2005, 11:15 am
From: Limin Fu <fu.limin....@gmail.com>
Date: Tue, 17 May 2005 17:15:04 +0200
Local: Tues, May 17 2005 11:15 am
Subject: [Taoscript-lang] Tao development progress

Hi,

During the past weeks, I have made some progress in the development of Tao,
including splitting subindexing operations from the numeric array types and
starting to implement multi-threading supporting, simplifying the interfaces
for extending and embedding Tao, and supporting scripting in non-english
languages. In particular, the last two are almost done.

Now the interfaces for extending and embedding are very simple, and easy to
use, because the interfaces are abstracted as pure virtual class, and all
the internal Tao data types are subclassed from these pure virtual class. So
most of the Tao data objects can be directly passed to and from C++ modules,
and with abstract interfaces these Tao objects can be easily manipulated in
C++ modules. Only two _very_small_ header files taoBase.h and
taoPlugin.hare required to build a loadable C++ module, no need to
link to additional
libraries.

The embedding of Tao is even simpler than extending. The kernel of Tao is
compiled into a dynamic loading library, which are also accessable through
abstract interfaces defined in a header file. It's also true that one can
embedding Tao with only 4 _very_small_ header files _without_ linking to Tao
library! One can have a look into file taoMain.cpp as an instance for
embedding.

For non-english languages, Tao allow users to provide a set of alternate
keywords in any languages as an alternate keyword file ( *.akw ). As a
result, one can write Tao script in any language he/she prefers (I have
tried in Chinese, it works well. And this feature was done in a few hours!).
The only requirement is that the character encoding of the akw file should
be the same as the encoding for the source file.

This file can be provided to the Tao interpreter by option -k, if this
option is not present, a default akw file with the same name as the source
file is searched in the current directory. akw file should include two
columns, for example,

class ClassInChinese
routine RoutineInChinese
...

By providing this file to the interpreter, one can use keyword
"ClassInChinese" instead of "class". However, "class" is always available as
the keyword.

All these features are only available in the CVS version of Tao.

Cheers,

FU Limin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josef 'Jupp' SCHUGT  
View profile  
 More options May 18 2005, 5:20 pm
From: Josef 'Jupp' SCHUGT <j...@gmx.de>
Date: Wed, 18 May 2005 23:20:26 +0200
Local: Wed, May 18 2005 5:20 pm
Subject: Re: [Taoscript-lang] Tao development progress
Hi!

At Tue, 17 May 2005 17:15:04 +0200, Limin Fu wrote:

> class    ClassInChinese

Klasse!

I should explain this: 'Klasse' is German for 'class'. As an
exclamation it means 'Great!' :->

Problem: How to describe the character encoding used? Suggestionq an
initial line using the comment character of most scripting languages
as the first character reading something like this:

# charset=utf-8
# charset=iso2022-cn
# charset=iso8859-15

The 'charset=' was taken from HTML.

Josef 'Jupp' SCHUGT

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Taoscript-lang mailing list
Taoscript-l...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/taoscript-lang


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Limin Fu  
View profile  
 More options May 19 2005, 6:06 pm
From: Limin Fu <fu.limin....@gmail.com>
Date: Fri, 20 May 2005 00:06:26 +0200
Local: Thurs, May 19 2005 6:06 pm
Subject: Re: [Taoscript-lang] Tao development progress

Hi!

On 5/18/05, Josef 'Jupp' SCHUGT <j...@gmx.de> wrote:

If the encoding for the keyword file and script file are the same, there is
no need to specify the charset, the interpreter doesn't care what they
encoded, it just compares the bytes directly when necessary.

Indeed, it would be nice if it can allow users to specify the charset
explicitly, but to do this, it requires a decoder for each charset to map
different charsets to a standard charset. So far I don't know how to do it,
I don't know if it's possible to use the same decoders used by web-browsers.

However, it should be easy for people to use the same charset in the keyword
and script files, since all systems and editers have some kind of default
charset for themselves. Even if some files happened to have different
charset, one can use web brower to open it, and copy&paste in an editor to
save in certain charset.

FU Limin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google