File: README

package info (click to toggle)
wap-wml-tools 0.0.4-6
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze, wheezy
  • size: 332 kB
  • ctags: 235
  • sloc: ansic: 1,108; makefile: 111; sh: 109
file content (17 lines) | stat: -rw-r--r-- 850 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This is a basic WML compiler. It takes the WML source and compiles into
WML bytecode ready for transmission to a WAP device.

It is quite basic and has a lot of limitations, but things it can compile
can be decompiled by wmld and vice versa.

So long as scripts and variables aren't involved, the pages compiled seem
to work reasonably well in Nokia's WAP Toolkit and Ericsson's WAP SDK. It
isn't most efficient, however, and the bytecode will be larger than other
compilers. Optimisation is Coming Soon(tm).

In order to compile bytecode in which simple scripts can work there needs
to be a mechanism for building up the string table and also finding out
what tag is appropriate (other compilers use WMLG_STR_T, WMLG_EXT_T_2 or
WMLG_EXT_I_2 to specify that a variable is coming and I don't know which
one to use - or even if it makes a difference)