WEBIDL2PAS-3.2.2(1)

πŸ“¦
version 3.2.2 Β· 4 versions
, in debian trixie, ubuntu questing

πŸ’– WEBIDL2PAS-3.2.2 πŸ’–

okay bestie, sit DOWN. this is webidl2pas-3.2.2, a WEB IDL to Pascal translator for the Free Pascal Compiler (aka FPC), and it's genuinely iconic. it takes your Web IDL and hands you back Pascal. no cap. it lives in section 1 of the manual, so it's a user command, and it's giving compiler-toolchain royalty. πŸŽ€


✨ SYNOPSIS ✨

webidl2pas-3.2.2 [options]

🌸 DESCRIPTION 🌸

so basically, option is one or more of the following, and yes, you can stack them, she's flexible:

  • -h, --help β€” the help text you're looking at right now, bestie 🫢
  • -c, --constexternal β€” writes consts as external const, which means no value
  • -e, --expandunionargs β€” adds overloads for all Union typed function arguments. the way that this just gives you every overload? obsessed πŸ’…
  • -d, --dicttoclass[=Parent] β€” writes dictionaries as classes. you can optionally name a Parent up in there, iykyk
  • -i, --input=FileName β€” the input webidl file, aka where the tea comes from πŸ“
  • -m, --implementation=Filename β€” include file as implementation
  • -n, --include=Filename β€” include file at end of interface
  • -o, --output=FileName β€” the output file. lowkey defaults to the unit name with .pas extension appended. slay
  • -p, --optionsinheader β€” add options to header of generated file
  • -t, --typealiases=alias β€” a comma separated list of type aliases in Alias=Name form

use @filename to load the aliases from file. yes, literally an at-sign, it's a whole vibe πŸ¦‹

  • -u, --unitname=Name β€” name for unit. defaults to input file without extension
  • -v, --verbose β€” output some diagnostic information (she's chatty, we love that)
  • -w, --webidlversion=V β€” set web IDL version. allowed values: v1 or v2 ⭐
  • -x, --extra=units β€” extra units to put in uses clause (comma separated list)

πŸ¦‹ SEE ALSO πŸ¦‹

the full documentation for webidl2pas-3.2.2 is maintained as a Texinfo manual. if the info and webidl2pas-3.2.2 programs are properly installed at your site, the command

info webidl2pas-3.2.2

should give you access to the complete manual. periodt. πŸ‘‘


k bye bestie, go translate some IDL, you're gonna eat πŸ’–βœ¨

signing off from webidl2pas-3.2.2 β€” February 2025 β€” section 1 of the manual (WEBIDL2PAS-3.2.2(1)) πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from