7 repository-uri
Capturing failures as values alongside successful results to enable detailed reporting.
Distinct from Error Reporting: Distinct from Error Reporting: focuses on the functional pattern of returning errors as values rather than just notifying users.
Explore 7 awesome GitHub repositories matching software engineering & architecture · Functional Error Capture. Refine with filters or upvote what's useful.
Wren is an embeddable, class-based scripting language and bytecode interpreter. It provides a dependency-free virtual machine designed for integrating dynamic script execution into host applications via a C API. The language is centered on a modern object-oriented model featuring inheritance, method overloading, and first-class functions. It utilizes a concurrent fiber runtime to manage lightweight, cooperatively scheduled execution paths without relying on operating system threads. The project includes a comprehensive suite of object-oriented primitives, closure-based state capture, and a m
Intercepts fiber errors by wrapping execution in try blocks and returning structured error messages.
This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed language into optimized JavaScript for web browsers. It serves as a frontend architecture framework, providing a static type system and a package manager that enforces semantic versioning. The compiler uses a type-checking engine with automatic type inference to prevent runtime errors and guide code refactoring. It implements a structural pattern for managing application state and rendering user interfaces through a virtual DOM, utilizing immutable data and purity-based state transit
Captures failure reasons alongside successful results to enable detailed error reporting and recovery.
language-ext is a functional programming framework for C# that provides a suite of immutable data structures and monadic types. It enables the implementation of pure functional programming patterns, utilizing containers to manage side effects, optional values, and error handling. The library is distinguished by its advanced concurrency and state management tools, including a software transactional memory system and lock-free atomic references. It also provides specialized utilities for distributed systems, such as vector clocks for causality tracking and deterministic data conflict resolution
Represents computation results as successful values or failures containing detailed error information.
Vetur is a Visual Studio Code extension that provides comprehensive language support for Vue single-file components. It parses .vue files into separate template, script, and style regions, then delegates each region to its own language service for independent processing. This architecture enables IntelliSense, type-checking, formatting, and linting across all embedded languages within a Vue file. The extension distinguishes itself through deep integration with Vue's component model. It infers TypeScript types for template expressions by analyzing component props, data, and computed properti
Checks JavaScript and TypeScript code inside script blocks for errors and highlights them inline.
fuckitpy este un instrument de suprimare a excepțiilor Python și un modificator AST conceput pentru a asigura continuarea execuției programului în ciuda prezenței erorilor de runtime. Funcționează ca un modul de încărcare tolerant la erori și un wrapper de gestionare a erorilor care rescrie codul Python pentru a omite instrucțiunile care altfel ar cauza crash-uri. Proiectul utilizează manipularea arborelui sintactic abstract (AST) pentru a injecta automat handler-e de excepții în jurul expresiilor și funcțiilor. Acest lucru permite încărcarea modulelor care conțin erori, asigurând că membrii valizi rămân accesibili chiar și atunci când modulul în sine este parțial defect. Instrumentul acoperă capabilități pentru suprimarea excepțiilor la runtime, toleranța la erori la nivel de bytecode și injectarea dinamică de module. Aceste mecanisme permit execuția căilor de cod logic defecte prin ocolirea eșecurilor la nivel de modul și funcție.
Rewrites function definitions to ensure internal crashes do not propagate to the rest of the application.
Radash este o bibliotecă de utilitare funcționale TypeScript concepută pentru transformarea datelor, validare și gestionarea fluxurilor de lucru. Oferă o colecție de funcții helper tipizate pentru a manipula array-uri, obiecte și șiruri de caractere. Proiectul dispune de un toolkit de flux de lucru asincron pentru gestionarea promisiunilor, reîncercărilor și limitelor de concurență, alături de o suită de validatoare booleene pentru verificarea tipurilor primitive, obiectelor și promisiunilor. De asemenea, implementează modele de programare funcțională, cum ar fi compunerea funcțiilor, aplicarea parțială și modele de răspuns de tip error-first. Biblioteca acoperă o arie largă de capabilități, inclusiv gestionarea stării obiectelor cu deep cloning și merging, manipulări complexe de array-uri și formatarea șirurilor. În plus, oferă instrumente pentru optimizarea execuției, cum ar fi limitarea ratei (rate limiting) și caching-ul rezultatelor.
Provides a wrapper for sync and async functions to capture exceptions and return them as values.
Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic
Captures failures within code blocks and populates an error object with status codes and messages.