Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: fmt Clear Filter

Yet Another TypeSafe and Generic Programming Candidate for C

MisraStdC A modern C11 library designed to make programming in C less painful and more productive, written in pure C. MisraStdC provides generic containers, string handling, and formatted I/O inspired by higher-level languages while maintaining C's performance and control. Disclaimer: This library is not related to the MISRA C standard or guidelines. The name "MisraStdC" comes from the author's name, Siddharth Mishra, who is commonly known as "Misra" among friends. Table of Contents Features

Jqfmt like gofmt, but for jq

Description I'm frequently passed long shell one-liners that require some visual inspection before running. These days, there's about as much jq in that one-liner as there is bash. I wrote jqfmt to help add line breaks in sensible locations while reading (or writing!) jq. At time of initial development, I naturally turned to https://github.com/itchyny/gojq expecting to be able to generate and walk a syntax tree—but gojq didn't seem to provide an AST that could be "walked," and it doesn't expor

Yamlfmt: An extensible command line tool or library to format YAML files

yamlfmt yamlfmt is an extensible command line tool or library to format yaml files. Goals Create a command line yaml formatting tool that is easy to distribute (single binary) Make it simple to extend with new custom formatters Enable alternative use as a library, providing a foundation for users to create a tool that meets specific needs Maintainers This tool is not yet officially supported by Google. It is currently maintained solely by @braydonk, and unless something changes primarily

Show HN: AGL a toy language that compiles to Go

AGL (AnotherGoLang) Description AGL is a language that compiles to Go. It uses Go's syntax, in fact its lexer/parser is a fork of the original Go implementation, with a few modifications The main differences are: Functions return only a single value. This makes it possible to use types like Option[T] and Result[T] , and to support automatic error propagation via an operator. and , and to support automatic error propagation via an operator. To make returning multiple values easy, a Tuple ty

Topics: fmt func int main return