GPT(1)

πŸ“¦
version 1.2.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

gpt(1) πŸ’– the G-Portugol bestie

okay so like, welcome to the manual page for gpt, section 1 of the General Commands Manual. it's a whole vibe. let's get into it πŸŽ€


✨ NAME ✨

gpt β€” it's the compiler, the interpreter AND the translator for the G-Portugol programming language. three jobs, one icon πŸ‘‘


✨ SYNOPSIS ✨

gpt [ -vhid ] [ -ots output_file ] file1 file2 ...

look at her. so compact. so powerful. πŸ’…


✨ DESCRIPTION ✨

so gpt is a simple compiler for the G-Portugol Language. periodt.

and here's the tea bestie: you can totally feed it a whole list of files to include in the compilation by setting the GPT_INCLUDE environment variable. that variable should hold a list of file paths, and you separate them with :. yes, colons. like a lil file-path friendship bracelet 🌸


✨ OPTIONS ✨

  • -v β€” shows version information and then dips. that's it, that's the whole job πŸ’…
  • -h β€” shows a summary of all the options and exits. your lil cheat sheet 🫢
  • -i β€” execute by interpreting the source code. no compiling, just vibes, straight through πŸ”₯
  • -d β€” shows tips in the error report. when things go wrong she's not gonna just leave you hanging, she's gonna give you advice 😭
  • -o output_file β€” compile the source code and save the resulting binary with the name output_file. your very own compiled baby πŸŽ€
  • -t output_file β€” translates the source code into the C programming language and saves the resulting file as output_file. she speaks C now, multilingual queen 🌈
  • -s output_file β€” compiles the source code down to assembly source and saves the resulting code as output_file. going all the way down to the metal, iconic ⭐

✨ SEE ALSO ✨

  • nasm(1) β€” the other one. go say hi πŸ¦‹

✨ ADDITIONAL INFORMATION ✨

for further information (and honestly there's more, bestie), visit the website:

https://gportugol.github.io

✨ AUTHOR ✨

  • Thiago Silva <tsilva@sourcecraft.info>
  • G-Portugol contributors <gportugol@googlegroups.com>

ngl, if you made it to the bottom of this manpage you're officially part of the G-Portugol crew. iykyk πŸ’œ

okay mwah, that's the whole page!! this one comes straight outta the General Commands Manual, it's GPT(1), and no date was listed on it so we're just gonna say it's timeless. bye bestie, go compile something gorgeous πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from