awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

27 Repos

Awesome GitHub RepositoriesFunction Definitions

The process of encapsulating reusable logic using parameters and return values.

Distinct from Function Definitions: Candidates refer to SQL functions, LLM schemas, or stylesheet logic, not general-purpose language functions.

Explore 27 awesome GitHub repositories matching programming languages & runtimes · Function Definitions. Refine with filters or upvote what's useful.

Awesome Function Definitions GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • trekhleb/learn-pythonAvatar von trekhleb

    trekhleb/learn-python

    18,058Auf GitHub ansehen↗

    This project is an educational resource designed for learning the Python programming language. It serves as a tutorial repository and programming guide, providing a collection of annotated scripts, code examples, and cheatsheets to help users master syntax and core fundamentals. The resource focuses on moving from basic language syntax to advanced implementation, with a particular emphasis on object-oriented programming, the use of the Python standard library, and scripting automation for business workflows. The content covers a broad range of programming capabilities, including control flow

    Provides guidance on defining reusable functions to encapsulate tasks across a program.

    Pythonlearninglearning-by-doinglearning-python
    Auf GitHub ansehen↗18,058
  • kanaka/malAvatar von kanaka

    kanaka/mal

    10,665Auf GitHub ansehen↗

    This project is a Lisp interpreter implementation guide and framework designed to teach the core principles of programming language design. It provides a structured, step-by-step technical framework for building a functional Lisp language from scratch, featuring a specialized interpreter engine and an S-expression parser that converts syntax into abstract syntax trees. The project emphasizes a code-as-data metaprogramming framework, enabling the implementation of macros, quoting, and quasiquoting to transform expressions during evaluation. It is designed with host language agnosticism, allowi

    Supports the definition of user-created functions and closures that capture the surrounding lexical environment.

    Assemblybashcc-plus-plus
    Auf GitHub ansehen↗10,665
  • reasonml/reasonAvatar von reasonml

    reasonml/reason

    10,313Auf GitHub ansehen↗

    Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web environments or native machine code for operating systems. It serves as an OCaml-compatible language that shares an abstract syntax tree with OCaml, providing a practical syntax for the OCaml ecosystem. The project functions as a type-safe frontend language, incorporating JSX support to build user interfaces through structural elements that translate into type-safe function calls. It enables deep integration with the JavaScript ecosystem, allowing the use of existing librarie

    Provides the fundamental ability to define reusable logic blocks as functions.

    OCamljavascriptocamlprogramming-language
    Auf GitHub ansehen↗10,313
  • iamseancheney/python_for_data_analysis_2nd_chinese_versionAvatar von iamseancheney

    iamseancheney/python_for_data_analysis_2nd_chinese_version

    8,937Auf GitHub ansehen↗

    This project is an educational resource and a collection of instructional materials for performing data manipulation and statistical analysis using Python. It provides a comprehensive set of guides and code examples for using the Pandas, NumPy, and Matplotlib libraries to analyze structured data. The resource includes a dedicated guide for reshaping, cleaning, and aggregating tabular data and time series via Pandas, alongside a reference for high-performance vectorized operations and linear algebra using NumPy. It also features tutorials for creating publication-quality charts, distribution p

    Demonstrates the encapsulation of reusable logic using parameters and return values within Python functions.

    matplotlibnumpypandas
    Auf GitHub ansehen↗8,937
  • crazyguitar/pysheeetAvatar von crazyguitar

    crazyguitar/pysheeet

    8,150Auf GitHub ansehen↗

    pysheeet ist eine technische Referenzbibliothek, die eine kuratierte Sammlung von Code-Snippets und Implementierungsmustern für fortgeschrittene Python-Entwicklung, Systemintegration und High-Performance-Computing bereitstellt. Sie dient als umfassender Leitfaden für die Implementierung von Low-Level-Netzwerkprogrammierung, nativen C-Erweiterungen sowie asynchroner und nebenläufiger Programmierung. Das Projekt bietet spezialisierte Frameworks für die Entwicklung und Bereitstellung von Large Language Models, einschließlich Werkzeugen für verteilte GPU-Inferenz und High-Performance-Serving. Es enthält zudem detaillierte Muster für die Orchestrierung von High-Performance-Computing-Clustern, die GPU-Ressourcenzuweisung und Multi-Node-Workload-Management abdecken. Die Bibliothek deckt ein breites Spektrum an Funktionen ab, einschließlich sicherer Netzwerkkommunikation und Kryptografie, Object-Relational-Mapping und Datenbankverwaltung sowie die Implementierung komplexer Datenstrukturen und Algorithmen. Sie bietet zudem Utilities für Speicherverwaltung, native Interoperabilität via Foreign-Function-Interfaces und systemnahe OS-Integration.

    Provides reference patterns for advanced Python function definitions including keyword-only and arbitrary arguments.

    Python
    Auf GitHub ansehen↗8,150
  • rust-lang/rust-by-exampleAvatar von rust-lang

    rust-lang/rust-by-example

    8,026Auf GitHub ansehen↗

    This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre

    Provides guidance on defining reusable blocks of code with typed arguments and return values.

    Handlebars
    Auf GitHub ansehen↗8,026
  • penrose/penroseAvatar von penrose

    penrose/penrose

    7,949Auf GitHub ansehen↗

    Penrose is a compiler that transforms structured mathematical notation into optimized SVG diagrams. It uses a three-stage pipeline of separate domain, substance, and style files to define mathematical objects, relationships, and visual presentation, then solves continuous optimization problems with user-defined spatial constraints and objectives to automatically arrange diagram elements. The system separates diagram content from visual style using distinct declarative languages, and provides a typed domain language with subtype hierarchies for mathematical objects. It supports embedding compi

    Declares functions with typed inputs and outputs that diagram schemas can reference.

    TypeScriptdiagramsdomain-specific-languagemathematics
    Auf GitHub ansehen↗7,949
  • focus-creative-games/hybridclrAvatar von focus-creative-games

    focus-creative-games/hybridclr

    7,863Auf GitHub ansehen↗

    HybridCLR is a hybrid C# execution engine and assembly loader designed for Unity. It provides a system for hot-updating C# logic across all platforms at runtime without requiring the application to be rebuilt or reinstalled. The project is distinguished by its mixed-mode execution, which runs unmodified code at native speed while using a high-performance interpreter for updated functions. It includes a generic type resolver that allows hot-updated code to use generic classes and functions regardless of whether they were pre-instantiated in the main binary. To protect proprietary source code,

    Provides a mechanism for defining native functions that can be called from hot-updated scripts.

    C++csharpframeworkhot
    Auf GitHub ansehen↗7,863
  • mobxjs/mobx-state-treeAvatar von mobxjs

    mobxjs/mobx-state-tree

    7,050Auf GitHub ansehen↗

    MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera

    Defines lazily evaluated types for recursive or circular type definitions.

    TypeScripthacktoberfestmobxmobx-state-tree
    Auf GitHub ansehen↗7,050
  • unisonweb/unisonAvatar von unisonweb

    unisonweb/unison

    6,487Auf GitHub ansehen↗

    Define a named function with parameters in a scratch file and evaluate it immediately with a watch expression.

    Haskellhacktoberfesthaskellprogramming-language
    Auf GitHub ansehen↗6,487
  • microsoft/typespecAvatar von microsoft

    microsoft/typespec

    5,781Auf GitHub ansehen↗

    TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas

    Provides a typed function declaration system for defining API operations with typed inputs and outputs.

    Javajson-schemaopenapi3protobuf
    Auf GitHub ansehen↗5,781
  • angrave/systemprogrammingAvatar von angrave

    angrave/SystemProgramming

    5,734Auf GitHub ansehen↗

    This is an open-source, crowd-sourced wiki textbook that teaches Linux system programming in C. It covers the core operating system concepts of process management through the fork-exec-wait model, dynamic memory allocation using implicit free list heap allocators, inode-based file systems, inter-process communication via pipes and shared memory, POSIX threads with synchronization primitives, signal-based asynchronous notification, virtual memory with page table translation, and runtime diagnostics using Valgrind and GDB. The textbook distinguishes itself by providing practical, implementation

    Covers the use of function prototypes for compile-time type checking.

    Auf GitHub ansehen↗5,734
  • kaisery/trpl-zh-cnAvatar von KaiserY

    KaiserY/trpl-zh-cn

    5,501Auf GitHub ansehen↗

    Dieses Projekt ist eine lokalisierte Bildungsressource zum Erlernen der Programmiersprache Rust und bietet ein umfassendes Handbuch sowie technische Spezifikationen, die ins vereinfachte Chinesisch übersetzt wurden. Es dient als Lehrmittel zum Studium von Sprachidiomen, Speichermanagement und Typsystemen. Das Repository konzentriert sich auf die Lokalisierung von Softwaredokumentation und übersetzt offizielle Leitfäden ins vereinfachte Chinesisch, um die Zugänglichkeit für Nicht-Muttersprachler zu erhöhen. Es nutzt ein Markdown-basiertes System zur Organisation der Inhalte und unterstützt den Export in mehrere Formate wie statisches HTML, PDF und EPUB für die Web- und Offline-Ansicht. Der Inhalt deckt eine breite Palette technischer Rust-Domänen ab, einschließlich Speichermanagement-Primitiven wie Ownership und Borrowing, fortgeschrittenem Sprachdesign mit Traits und Generics sowie umfassenden Strategien zur Fehlerbehandlung. Zudem werden Programmiergrundlagen, Datenmodellierung und der Einsatz von Produktivitätstools für Build- und Dependency-Management detailliert beschrieben.

    Rust declares a reusable block of code with a name and parameters to execute a specific task.

    Markdownpdfrust-booktypst
    Auf GitHub ansehen↗5,501
  • aweiloveandroid/flutter-learningAvatar von AweiLoveAndroid

    AweiLoveAndroid/Flutter-learning

    5,420Auf GitHub ansehen↗

    Dieses Projekt ist eine Sammlung von Lernressourcen, Dokumentationen und Boilerplate-Vorlagen, die für Entwickler konzipiert sind, die das Flutter-Framework und die Dart-Sprache studieren. Es bietet einen umfassenden Satz an Installationsanleitungen, Konfigurations-Tutorials und Referenzmaterialien, um beim Aufbau plattformübergreifender mobiler Anwendungen zu unterstützen. Das Repository zeichnet sich durch eine breite Palette praktischer Beispiele aus, einschließlich Demonstrationen der Dart-Sprachgrammatik, plattformübergreifender UI-Muster und Projektvorlagen. Es bietet spezifisch Beispielcode für die Implementierung nativer Plattform-Plugins und die Überbrückung von Hardwarefunktionen mittels Method-Channels. Die Codebasis deckt ein breites Spektrum an Entwicklungsfunktionen ab, einschließlich zustandsgesteuertem UI-Rendering und Widget-basierter Layout-Konstruktion. Es enthält Implementierungen für Navigations-Routing, lokale Datenpersistenz mittels SQLite und Shared-Preferences sowie systemnahe Integrationen für Push-Benachrichtigungen und Hardwaresensoren. Das Projekt bietet zudem Materialien für die Umgebungskonfiguration, die Verifizierung von Entwicklungstools und Logiktests, um ein konsistentes Setup auf lokalen Maschinen sicherzustellen.

    Provides examples and documentation for encapsulating reusable logic using function definitions with parameters and return values in Dart.

    Dartandroid-flutterandroid-iosdart
    Auf GitHub ansehen↗5,420
  • vyperlang/vyperAvatar von vyperlang

    vyperlang/vyper

    5,180Auf GitHub ansehen↗

    Vyper is a security-focused, typed programming language and compiler designed for creating smart contracts that execute on the Ethereum Virtual Machine. It utilizes a Pythonic syntax to define contract logic and state, serving as a target for formal verification to allow for machine-checked proofs of correctness. The language distinguishes itself through strict architectural constraints that prioritize predictability and security. It enforces acyclic call graphs by prohibiting recursion and mandates bounded loops to ensure static gas prediction. Additionally, it features a native fixed-point

    Enables the encapsulation of reusable logic into functions with configurable visibility and parameters.

    Pythonethereumethereum-dapplanguage
    Auf GitHub ansehen↗5,180
  • c3lang/c3cAvatar von c3lang

    c3lang/c3c

    5,147Auf GitHub ansehen↗

    c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte

    Supports function definitions where the function type takes a pointer to itself as an argument.

    C3c3compilerlanguage
    Auf GitHub ansehen↗5,147
  • gopl-zh/gopl-zh.github.comAvatar von gopl-zh

    gopl-zh/gopl-zh.github.com

    4,958Auf GitHub ansehen↗

    Dieses Projekt ist eine chinesische Übersetzung eines umfassenden Leitfadens zur Programmiersprache Go. Es dient als lokalisierte Bildungsressource und technisches Handbuch, das Orientierung zu Sprachsyntax, Design und Softwareentwicklung bietet. Die Ressource deckt ein breites Spektrum der Go-Sprachausbildung ab, einschließlich der Implementierung von Programmiermustern und Systemdesign. Sie enthält übersetzte Lektionen und Beispiele, die sich auf Kernfunktionen der Sprache wie Concurrency und die Verwendung von Interfaces konzentrieren. Der Inhalt umfasst verschiedene Kompetenzbereiche, darunter Sprachgrundlagen, Datenmodellierung, Runtime-Reflection und Speicherverwaltung. Zudem bietet es detaillierte Abhandlungen zu Softwarearchitektur, Fehlerbehandlung, Qualitätssicherung und Web-Networking. Die Dokumentation ist als technisches Handbuch strukturiert, das übersetzte Inhalte, Errata und Korrekturen enthält, um ein präzises Lernen zu gewährleisten.

    Provides comprehensive guidance on defining reusable logic through functions with parameters and return values.

    Goprogramming-language
    Auf GitHub ansehen↗4,958
  • microsoft/typescript-handbookAvatar von microsoft

    microsoft/TypeScript-Handbook

    4,855Auf GitHub ansehen↗

    This project is a comprehensive guide and educational resource for the TypeScript language. It covers the fundamental principles of the language, including its structural type system, static type analysis, and the process of transpiling typed source files into JavaScript. The material details how to model complex data and reusable type logic using generics, conditional types, and mapped types. It also explains the use of declaration files to provide type safety for external JavaScript libraries and the integration of type checking into existing JavaScript projects via JSDoc annotations. The

    Teaches how to define function types and overloads to ensure type-safe imports.

    JavaScriptdocumentationlearntypescript
    Auf GitHub ansehen↗4,855
  • inkle/inkAvatar von inkle

    inkle/ink

    4,817Auf GitHub ansehen↗

    Ink ist eine narrative Skriptsprache, ein JSON-Narrativ-Compiler und eine Narrative-Engine-Runtime. Sie bietet ein spezialisiertes Toolset für das Verfassen nicht-linearer Geschichten und komplexer verzweigter Dialogsysteme, wodurch Entwickler den Spielzustand verwalten und interaktiven Text an eine Benutzeroberfläche ausgeben können. Das System transformiert Rohskripte in ein maschinenlesbares JSON-Bytecode-Format, um die Ausführung innerhalb externer Game-Engines zu optimieren. Es zeichnet sich durch fortgeschrittenes Zustandsmanagement aus, einschließlich der Fähigkeit, den Fortschritt der Geschichte in Snapshots zu serialisieren und gleichzeitige Story-Kontexte für die Handhabung mehrerer paralleler narrativer Stränge beizubehalten. Das Framework deckt breite Funktionsbereiche ab, darunter bedingte Kontrollflüsse, die Ausführung von Logikfunktionen und komplexes set-basiertes Zustands-Tracking. Es unterstützt narrative Designmuster wie verschachtelte Dialogoptionen, wiederverwendbare Story-Segmente und die Verwendung von Metadaten-Tags, um systemische Aktionen an eine Host-Anwendung zu signalisieren. Die Runtime ermöglicht eine bidirektionale Kommunikation mit der Host-Logik durch externe Funktionsbindungen und Zustandsmanagement nach dem Observer-Muster.

    Supports the definition of reusable logic functions that perform calculations without interrupting the primary narrative flow.

    C#
    Auf GitHub ansehen↗4,817
  • prodesire/python-guide-cnAvatar von Prodesire

    Prodesire/Python-Guide-CN

    4,432Auf GitHub ansehen↗

    Python-Guide-CN ist eine chinesische Übersetzung eines umfassenden Leitfadens für idiomatische Python-Programmierung und Softwareentwicklung. Er dient als kuratiertes Programmier-Tutorial und Ökosystem-Referenz und bietet einen strukturierten Pfad zum Erlernen von Python-Syntax, Standardbibliotheken und professionellen Coding-Mustern. Das Projekt zeichnet sich dadurch aus, dass es detaillierte Anweisungen für das Einrichten von Entwicklungsumgebungen unter Windows, macOS und Linux bietet. Es konzentriert sich spezifisch auf die Auswahl von Interpretern und die Verwaltung virtueller Umgebungen, um einen konsistenten Arbeitsplatz zu gewährleisten. Der Leitfaden deckt eine breite Palette technischer Funktionen ab, einschließlich Software-Test-Workflows, Paketverteilung und der Implementierung von Coding-Best-Practices. Er bietet zudem Anleitungen zur Webentwicklung, REST-API-Konstruktion und wissenschaftlichem Rechnen, einschließlich Datenanalyse und Visualisierung.

    Demonstrates how to execute compiled binary functions within the Python runtime using binary interfaces.

    Batchfile
    Auf GitHub ansehen↗4,432
Vorherige12Nächste
  1. Home
  2. Programming Languages & Runtimes
  3. Function Definitions

Unter-Tags erkunden

  • Flexible Argument Definitions1 Sub-TagImplementation patterns for functions using default, arbitrary, and keyword-only arguments. **Distinct from Function Definitions:** Focuses on Python-specific argument flexibility (kwargs, positional-only) rather than the general concept of encapsulating logic.
  • Maintenance ConstraintsGuidelines for limiting function length and parameter counts to improve testability. **Distinct from Function Definitions:** Focuses on the quantitative constraints and maintainability of definitions rather than the general process of encapsulating logic.
  • Native Function Bridge Definitions1 Sub-TagRules and signatures for mapping native functions to be callable by a script interpreter. **Distinct from Function Definitions:** Specifically focuses on the interop boundary between native code and scripts, not general language function definitions.
  • Pure Computational FunctionsDefines side-effect-free functions with typed arguments for mathematical and data processing. **Distinct from Function Definitions:** Focuses on the purity and mathematical nature of the functions, unlike general procedure definitions.
  • Recursive DefinitionsLanguage support for functions that call themselves, enabling iterative computations through recursion. **Distinct from Function Definitions:** Distinct from Function Definitions: focuses specifically on self-referencing definitions that enable recursion, not general function creation.
  • Recursive Type Definitions2 Sub-TagsAbility to define function types that refer to themselves in their own parameter lists. **Distinct from Function Definitions:** Extends general function definition to specifically cover the recursive typing of function signatures.