PARSER(1)

πŸ’– PARSER3 β€” the manual, but make it make sense πŸ’–

okay bestie, sit down, hydrate, and let me tell you about parser3 β€” the Command Line and CGI interface for Parser 3 Language ✨ this page lives in the General Commands Manual section, and it's giving "small tool, big job" energy fr fr 🫢


🌸 SYNOPSIS 🌸

parser3 [-h] [-c conffile] file

that's it. that's the whole vibe check. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

What does it actually do? It parses and executes file in the Parser 3 language. iconic, no notes. πŸ’…

Now the config tea β˜• β€” here's how Parser decides where its settings live:

  • If neither the -c option nor the environment variable CGI_PARSER_CONFIG is specified, Parser goes looking for configuration settings in the auto.p file beside the binary β€” meaning in the directory with the CGI-script itself πŸŽ€ β€” and then in the default system-wide auto.p file.

So basically: neighbor first, then the system-wide one. bestie behavior honestly.

And when things go wrong? 😭 Parser makes records about errors to the error log file parser3.log, which is implicitly located in the same directory where the parser3 CGI script is. But listen β€” if Parser is not allowed to write to that file, errors get reported to the standard error stream instead. she adapts. we love a flexible queen. 🌈


✨ OPTIONS ✨

A summary of options is included below β€” and yes, there are only two, she's low-maintenance πŸ’œ

  • -h β€” Display usage information. that's your help flag, your "what do I even do here" button 🫢
  • -c conffile β€” Use this conffile (/path/to/auto.p). you're hand-picking your config file, main character energy πŸ‘‘

πŸ“ ENVIRONMENT VARIABLES πŸ“

  • Parser3 checks the environment variable CGI_PARSER_CONFIG if option -c is not specified. so like, if you didn't tell her which config to use out loud, she'll peek at the env var instead. πŸ™ˆ
  • If you would rather change the implicit location of parser3.log, you can explicitly specify it via stderr redirection or the environment variable CGI_PARSER_LOG. relocating the diary, essentially. πŸ“”

🧚 FILES 🧚

  • /etc/parser3/auto.p β€” default parser3 configuration file. the system-wide one. the one she falls back to. πŸ’–

⭐ SEE ALSO ⭐

For a more complete description of Parser3, look here:

http://www.parser.ru/en/

that's your lore deep-dive, go read it bestie πŸ“šβœ¨


πŸ‘‘ AUTHOR πŸ‘‘

parser3 was written by Alexandr Petrosian <paf@design.ru>. πŸ’œ

This manual page was written by Sergey B Kirpichev <skirpichev@gmail.com>, for the Debian project (but may be used by others). so it's giving "made with love for Debian, shared with the world" πŸŒπŸ’…


and that's the whole page!! πŸŽ€ this one lives under the Scripting Language section, page name PARSER(1) β€” shoutout to that footer, she's iconic, she's the Scripting Language manual, she said what she said. no cap. go parse something, bestie πŸ¦‹πŸ’–