March 2025 #77
elydre
announced in
Retrospective
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
March 2025
This release note will probably be shorter than usual, as last month was rather quiet for profanOS. The new argument parser for command-line programs is now complete and has been integrated into a large number of commands.
About CARP
The most tedious part of creating command line tools is managing arguments. Standard functions such as
getoptalready exist, but they are rarely pleasant to use and often incomplete. CARP - command-line arguments parser - is a part oflibpfthat lets you set up options very easily, automatically parse arguments and then read options as required. Replacing the argument parsers of each command with carp took a considerable amount of time, but now everything is more uniform, easier to maintain and safe from parsing bugs.15-line C program using carp - help page automatically generated
Change Log
Command line
libpfargument parser.-ninreadelfto display required libraries.-ringrepto search recursively in directories.-ninlessto disable long line wrapping.rimeditor.delugeto fixR_386_COPYresolution.Olivine
fstatfunction to get file informations.-eto ignore errors during execution.-bto disable executable search inPATH.debuginternal function.ESCkey in multiple line input.libc.soPATH_MAXtolimits.h.O_NODIRflag toopenfunction.nanosleepintime.h.renamefunction.libpf.soTSI_NO_AUTO_WRAPflag to tsi (see wiki).Miscellaneous
make bdiskadds source code in/user/srcdirectory (not/srcas before).tools/limine.shscript./bin/hto/bin/ffor historical reasons.You can test profanOS from your web browser without installing anything right here.
Thank you xx
Beta Was this translation helpful? Give feedback.
All reactions