Difference between revisions of "Bytecode for transfer"

From Apertium
Jump to navigation Jump to search
(New page: This page is to list ideas and their pros and cons. Adapt transfer to use bytecode instead of tree walking. This task would be write a compiler and interpreter for Apertium transfer rule...)
 
Line 1: Line 1:
This page is to list ideas and their pros and cons.
 
 
 
Adapt transfer to use bytecode instead of tree walking.
 
Adapt transfer to use bytecode instead of tree walking.
   
 
This task would be write a compiler and interpreter for Apertium transfer rules into the format of an an off-the-shelf bytecode engine (e.g. Java, v8, kjs, ...).
 
This task would be write a compiler and interpreter for Apertium transfer rules into the format of an an off-the-shelf bytecode engine (e.g. Java, v8, kjs, ...).
   
  +
 
This page is to list ideas and their pros and cons.
   
   
Line 12: Line 12:
   
 
* Considering that lttoolbox is on its way to being ported to Java. If Java bytecode was chosen this might eventually make Apertium run on J2ME devices (only the tagger is missing for a full system).
 
* Considering that lttoolbox is on its way to being ported to Java. If Java bytecode was chosen this might eventually make Apertium run on J2ME devices (only the tagger is missing for a full system).
  +
   
 
<jacobEo> spectie: jimregan I don't know, but I suppose that Java byte would run fastest, as there have been extremely much work on optimize its speed, on different platforms....
 
<jacobEo> spectie: jimregan I don't know, but I suppose that Java byte would run fastest, as there have been extremely much work on optimize its speed, on different platforms....
Line 17: Line 18:
 
<jacobEo> spectie: jimregan Also think in terms of some day get Apertium on a mobile phone.... then transfer in Java bytecode would be the easiest thing. But writing a J2ME bytecode executor.... pheh....
 
<jacobEo> spectie: jimregan Also think in terms of some day get Apertium on a mobile phone.... then transfer in Java bytecode would be the easiest thing. But writing a J2ME bytecode executor.... pheh....
   
<jacobEo> spectie: jimregan Actually, if we get lttoolbox-java to work AND have Java bytecode for transfer, then we instantly HAVE apertium running on phones! And also on Windows, VAX etc, whatever can run Java bytecode
+
<jacobEo> spectie: jimregan Actually, if we get lttoolbox-java to work AND have Java bytecode for transfer, then we instantly HAVE apertium running on phones! And also on Windows, all Unix varians, VAX, web pages, whatever can run Java bytecode.
   
   

Revision as of 09:55, 30 March 2009

Adapt transfer to use bytecode instead of tree walking.

This task would be write a compiler and interpreter for Apertium transfer rules into the format of an an off-the-shelf bytecode engine (e.g. Java, v8, kjs, ...).


This page is to list ideas and their pros and cons.


Java bytecode

  • Considering that lttoolbox is on its way to being ported to Java. If Java bytecode was chosen this might eventually make Apertium run on J2ME devices (only the tagger is missing for a full system).


<jacobEo> spectie: jimregan I don't know, but I suppose that Java byte would run fastest, as there have been extremely much work on optimize its speed, on different platforms....

<jacobEo> spectie: jimregan Also think in terms of some day get Apertium on a mobile phone.... then transfer in Java bytecode would be the easiest thing. But writing a J2ME bytecode executor.... pheh....

<jacobEo> spectie: jimregan Actually, if we get lttoolbox-java to work AND have Java bytecode for transfer, then we instantly HAVE apertium running on phones! And also on Windows, all Unix varians, VAX, web pages, whatever can run Java bytecode.


V8 bytecode

A Javascript engine. See [[1]]