wmlc(1)

πŸ“¦ version 0.0.4, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’… wmlc β€” a basic WML compiler (manual page, section 1, General Commands Manual) πŸŽ€

✨ NAME ✨

wmlc β€” a basic WML compiler, bestie. that's it, that's the whole name section, slay πŸ’–


🌸 DESCRIPTION 🌸

okay so this is a basic WML compiler. what it does is: it takes your WML source and compiles it into WML bytecode, all ready for transmission to a WAP device. that's the whole vibe. πŸ“±βœ¨

ngl, it's quite basic and it has a lot of limitations. but here's the thing β€” anything it can compile, wmld can decompile, and vice versa. so it's giving round-trip energy. πŸ”πŸ’«

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. lowkey it works! πŸ™ˆ

but it is not the most efficient, okay, no cap β€” the bytecode will be larger than other compilers. optimisation is Coming Soon(tm). πŸ’€ (we love a tm, very iconic of them)

and listen, if you wanna compile bytecode where simple scripts actually 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 honestly? I don't know which one to use β€” or even if it makes a difference. πŸ€·β™€οΈπŸ˜­


πŸ¦‹ USAGE πŸ¦‹

Usage: ./wmlc file.wml [output.wmlc]
bestie the output.wmlc is optional, it's in square brackets, that's the whole hint 🫢

k bye ily, go compile something πŸ’œ

this lil page came from Debian GNU/Linux, dated July 2005 β€” yeah she's vintage, she's a classic, she's the main character of WAP-era tooling πŸ‘‘β­

πŸ“¦ where this page comes from