perl5
optparse
Our great sponsors
perl5 | optparse | |
---|---|---|
87 | 5 | |
1,835 | 312 | |
1.4% | - | |
9.9 | 0.0 | |
3 days ago | 6 months ago | |
Perl | C | |
GNU General Public License v3.0 or later | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
perl5
- Perl first commit: a “replacement” for Awk and sed
-
GitHub crashes on Perl's Configure
Configure (Permalink)
I was not signed into GitHub. I opened the permalink and it displayed fine. I opened the raw page in another tab; it was fine.
- How Are the Cool Kids Installing Perl on OSX Nowadays?
-
SPVM now supports object-oriented programming in Perl
As we mentioned last week, this week we are working on a portable, symbolic link implementation that also works on Windows. You can see our progress here. To implement this, the Perl win32/win32.c source code would be greatly appreciated.
-
A short tutorial for writing code using the new "feature 'class'" syntax.
However, I wouldn't shelve your plans to put more time into Moose. The PR for the initial Corinna work is out and while /u/leonerduk's work is great, the PR is huge and there are a few minor issues to deal with. I do not know when the initial Corinna work will be finished and even after that, it will be a couple of years before it's considered "stable."
-
Perl Weekly #596 - New Year Resolution
First round of feature 'class'
- Paul "LeoNerd" Evans has created the first pull request for Corinna, the modern OOP system for Perl
-
Day 16: Moving from Travis-CI to GitHub Actions for Marpa::R2
First I noticed that there are some warning during the build emitted by one of the dependencies. As it turns out upgrading the dependency solved this issue, but the latest package of the dependency also had a minor issue. The version numbers in the different files were slightly confusing. So I reported that too.
optparse
-
Porting my very simple C code from Unixen/macOS to Windows
Between -std=c99 and removing these headers, you're missing time definitions (struct timeval, gettimeofday) and option parsing definitions (struct option, getopt_long). Mingw-w64 provides all this for compatibility, but MSVC has none of these, so you'll need to write replacements. I've written embeddable, public domain implementations of getopt and something like getopt_long, in case that helps. These are how I deal with option parsing portability.
-
How to properly handle position non-specific program arguments? ./my_prog --format:"mp3"
getopt_long is a GNU extension, common across unix-like systems, for parsing long options. You can find libraries for functionality as well.
-
How to make programs for linux
When I need something more sophisticated, where long options would be nice, I reach for my own Optparse.
-
[ Feed back wanted ] Is this a good way to handle lot of if instead of if else?
https://github.com/skeeto/optparse (short and long)
-
Debian discusses vendoring again
This is bug-free and feature complete so it never needs to be updated. When I need argument parsing in a C program, I just copy-paste that into my source and massage it into place. Sometimes I cut the fprintf() stuff, or replace the isalnum, or otherwise adapt it to fit the program's needs. The point is that it becomes wholly owned by the project using it. It's a similar story for long option parsing.
What are some alternatives?
getopt - POSIX getopt() as a portable header library
rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS
Gource - software version control visualization
Corinna - Corinna - Bring Modern OO to the Core of Perl
problem-solving - 🦋 Problem Solving, a repo for handling problems that require review, deliberation and possibly debate
perlweeklychallenge-club - Knowledge base for The Weekly Challenge club members using Perl, Raku, Ada, APL, Awk, Bash, BASIC, Bc, Befunge-93, Bourne Shell, BQN, Brainfuck, C3, C, CESIL, C++, C#, Clojure, COBOL, Coconut, Crystal, D, Dart, Dc, Elm, Emacs Lisp, Erlang, Excel VBA, Fennel, Fish, Forth, Fortran, Gembase, GNAT, Go, Haskell, Haxe, HTML, Idris, IO, J, Janet, Java, JavaScript, Julia, Kotlin, Lisp, Lua, M4, Miranda, Modula 3, MMIX, Mumps, Myrddin, Nim, Nix, Node.js, Nuweb, OCaml, Odin, Ook, Pascal, PHP, Python, Postscript, Prolog, R, Ring, Ruby, Rust, Scala, Scheme, Sed, Smalltalk, SQL, Swift, Tcl, TypeScript, Visual BASIC, WebAssembly, Wolfram, XSLT and Zig.
itoa - Fast function for printing integer primitives to a decimal string
decidim - The participatory democracy framework. A generator and multiple gems made with Ruby on Rails
rust-fnv - Fowler–Noll–Vo hash function
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
unicode-xid