[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Don't you need an XML Virtual Machine ?

  • To: "Oleg A. Paraschenko" <olpa@x...>
  • Subject: Re: Don't you need an XML Virtual Machine ?
  • From: Philippe Poulard <Philippe.Poulard@s...>
  • Date: Mon, 03 Apr 2006 09:32:12 +0200
  • Cc: xml-dev@l...
  • In-reply-to: <20060401055911.207cece4.olpa@x...>
  • References: <442A73B0.9070708@s...> <20060330084121.065bc59b.olpa@x...> <442BF2E5.3080209@s...> <20060401055911.207cece4.olpa@x...>
  • User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050511

xml virtual machine
Oleg A. Paraschenko wrote:
> Hi Philippe,
> 
> On Thu, 30 Mar 2006 17:01:57 +0200
> Philippe Poulard <Philippe.Poulard@s...> wrote:
> 
> ...
> 
>>>I used to utilize the buzzword "XML Virtual Machine" for my works, but
>>>now I'm in doubt. What "XML Virtual Machine" could be? What properties
>>>are expected from it?
>>
>>I would answer the same for Java : any machine that could translate XML 
>>in something that can run on this machine
>>
>>I called my executable XML "Active Tags" ; Active Tags just specifies a 
>>behaviour, not how you could implement it : if you want to write an 
>>interpreter or a compiler, translate XML to Java code (or any other 
>>language), load precompiled classes, or combine several of them, you're 
>>welcome.
>>
>>RefleX is an implementation in Java of Active Tags. I find it close to 
>>the idea of what people would think of an "XML Virtual Machine" : a 
>>general-purpose environment that can perform programs made with tags.
>>The idea of "general-purpose" is more important than "tags" : a syntax _
>> la XQuery could be a candidate, but XQuery is not a "general-purpose" 
>>language ; thus a pure implementation of XQuery can't be an "XML Virtual
>> Machine", although it could be extended to.
>>
>>Of course, all that can be discussed :)
> 
> 
> I think I remembered an essentioal property which is expected from a
> virtual machine. VM is a target for at least one language. For example,
> Java is compiled to JVM; C#, Basic.NET and others *.NET are compiled to
> CLR VM (don't remember its name). You urgently need to compile something
> to ActiveTags.

In this way, RefleX is not a VM : few times ago, I was generating some 
Java code from XML, but it appears that pre-compiled classes were doing 
almost the same job.
However, I'm still thinking on a way to mix Java code within XML tags ; 
of course, such parts will be compiled. Maybe in a next release ?

> 
> 
>>>And are you sure that just using XML syntax for programming qualifies
>>>for the proud title of "XML Virtual Machine"?
>>
>>As I said previously, I think it's not enough.
>>
>>XML technologies like XML and XPath are used in Active Tags to achieve 
>>things that are not necessary related to XML.
> 
> 
> Oh, it's an emerging topic. Added RefleX to my reseearch wiki:
> 
> http://xmlhack.ru/protva/xquery/index.php/BibReferences
> 
> 
>>-- 
>>Cordialement,
>>
>>               ///
>>              (. .)
>>  --------ooO--(_)--Ooo--------
>>|      Philippe Poulard       |
>>  -----------------------------
>>  http://reflex.gforge.inria.fr/
>>        Have the RefleX !
> 
> 
> 
> 


-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.