SNEK(1)

πŸ’– SNEK(1) β€” the snek manual page, but make it cute πŸ’–

okay bestie, welcome to the snek page from the General Commands Manual, section 1. it's giving "tiny snake, huge brain" and honestly? we're obsessed. 🐍✨


✨ NAME ✨

snek β€” the Snek Programming Language. no cap, that's the whole name. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

snek [--version|-v] [--help|-?] [--interactive|-i] [program.py]

look at her. compact. iconic. she contains multitudes. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: snek is a small Python-derivative β€” like, Python's baby cousin who's tiny and adorable β€” and it's built to be suitable for embedded computers. 🧚

and this particular version? this is the host version. she's not here to run on a microcontroller, she's here to help you test the Snek system and applications on larger machines. basically she's the big-sister build that lives on your laptop so you can vibe-check your snek code before it goes anywhere tiny. main character energy fr fr. πŸ‘‘


🌸 COMMAND LINE OPTIONS 🌸

  • --version or -v β€” reports the version number</> to stdout, and then she dips. exits immediately. no small talk. πŸ’…
  • --help or -? β€” prints the usage information to stdout, then exits. she's helpful AND she leaves. the dream. πŸŽ€
  • --interactive or -i β€” okay so if you gave her a program on the command line, this makes her enter interactive mode after executing that program. she runs your code and then she stays to hang out. πŸ₯°

⭐ USAGE ⭐

when a program is specified on the command line, snek runs it. then β€” and this is the important part, bestie β€” if the --interactive flag is passed, she enters interactive mode after that. otherwise? she exits. bye. 🫑

and when no program is specified on the command line at all? she just goes straight into interactive mode. straight in. no program needed. she's ready to chat. πŸ’¬βœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Keith Packard πŸ’œ β€” yes, that Keith Packard. we stan. πŸ™Œ


lowkey important: snek is a Python-derivative, so she feels familiar, but she is small and aimed at embedded computers. don't expect the whole Python universe to be in there, bestie. 🐍

and that's the page!! this whole thing lives in the snek manual under SNEK(1) β€” that's the source, that's the section, that's the vibe. periodt. πŸŽ€πŸ’–βœ¨πŸŒˆπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from