awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
samshadwell avatar

samshadwell/TrumpScriptArchived

0
View on GitHub↗
7,587 stele·392 fork-uri·Python·MIT·3 vizualizări

TrumpScript

TrumpScript is a Python-based domain specific language and compiler extension that wraps the Python runtime to enforce custom grammar and vocabulary rules. It transforms a specialized, case-insensitive vocabulary and natural speech patterns into executable Python instructions.

The implementation distinguishes itself through strict constraints on source code, including a variable name system that restricts identifiers to a predefined whitelist and a numeric parser that rejects any integer not exceeding one million. It further utilizes a token-filtering preprocessor to remove filler words and non-functional phrases from the source code.

The project includes system-level execution restrictions that block compilation and running based on the host machine's operating system, locale, or hardware properties.

Features

  • Domain Specific Languages - Provides a specialized programming language based on Python with restricted vocabularies and unique grammar.
  • Vocabulary Mapping - Maps a specialized, spoken-style vocabulary into instructions compatible with the Python runtime.
  • Domain Specific Languages - Implements a specialized language that limits available variables and numeric types for a conceptual purpose.
  • Language Interpreters - Interprets a programming language using a case-insensitive vocabulary based on specific speaking styles.
  • Language Wrappers - Wraps the Python runtime to transform natural speech patterns into executable instructions.
  • Token Filtering - Uses a token-filtering preprocessor to remove filler words and non-functional phrases from source code.
  • Compiler Extensions - Extends the compilation process to filter tokens and restrict variable names before executing Python.
  • Speech-Style Token Filtering - Discards unnecessary words from the source code to make it resemble natural human speech.
  • Syntax Extensions - Modifies how Python code is written and interpreted through token filtering and case-insensitivity.
  • Numeric Range Constraints - Limits numeric values to integers strictly greater than one million to enforce specific data requirements.
  • Restricted Runtimes - Provides an execution layer that limits numeric types and blocks compilation based on host hardware or locale.
  • Hardware and Locale Blocking - Prevents the program from running on forbidden hardware by checking host system properties and locale.
  • Identifier Naming Conventions - Restricts variable identifiers to a predefined list of approved words to enforce specific naming conventions.
  • Deployment Target Restrictions - Ensures the software only runs on specific operating systems or hardware to control the deployment target.
  • Host Hardware Restrictions - Blocks compilation or execution based on the host machine's operating system, locale, or hardware origin.
  • Identifier Validations - Restricts variable names to a predefined set of permitted strings during the semantic analysis phase.
  • Numeric Literal Constraints - Enforces a minimum threshold on integer literals by rejecting any number not exceeding one million.
  • Lexical Analysis - Implements case-insensitive lexical analysis to map stylized vocabulary into executable programming logic.

Istoric stele

Graficul istoricului de stele pentru samshadwell/trumpscriptGraficul istoricului de stele pentru samshadwell/trumpscript

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face samshadwell/trumpscript?

TrumpScript is a Python-based domain specific language and compiler extension that wraps the Python runtime to enforce custom grammar and vocabulary rules. It transforms a specialized, case-insensitive vocabulary and natural speech patterns into executable Python instructions.

Care sunt principalele funcționalități ale samshadwell/trumpscript?

Principalele funcționalități ale samshadwell/trumpscript sunt: Domain Specific Languages, Vocabulary Mapping, Language Interpreters, Language Wrappers, Token Filtering, Compiler Extensions, Speech-Style Token Filtering, Syntax Extensions.

Care sunt câteva alternative open-source pentru samshadwell/trumpscript?

Alternativele open-source pentru samshadwell/trumpscript includ: ohmjs/ohm — Ohm is a formal grammar parser generator and domain-specific language framework. It provides a system for defining… rhaiscript/rhai — Rhai is an embedded scripting engine and dynamically typed language designed for integration into Rust applications.… bitemyapp/learnhaskell — This project is a comprehensive functional programming curriculum and learning resource for Haskell. It provides… holistics/dbml — DBML is a domain-specific language and schema definition language used for documenting database architecture and… influxdata/influxdb — InfluxDB is a specialized time series database platform engineered for the high-speed ingestion, compression, and… taichi-dev/taichi — Taichi is a domain-specific programming language embedded in Python designed for high-performance numerical computing…

Alternative open-source pentru TrumpScript

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu TrumpScript.
  • ohmjs/ohmAvatar ohmjs

    ohmjs/ohm

    5,471Vezi pe GitHub↗

    Ohm is a formal grammar parser generator and domain-specific language framework. It provides a system for defining custom languages to parse, validate, and extract data from input text, transforming raw strings into hierarchical abstract syntax trees based on specified formal rules. The project utilizes an Earley parsing algorithm, which allows it to support all context-free grammars, including those with left recursion and ambiguity, without requiring predefined operator precedence. It also includes a dedicated debugging toolkit for tracing and visualizing the step-by-step state transitions

    JavaScriptcompilergrammarsjavascript
    Vezi pe GitHub↗5,471
  • rhaiscript/rhaiAvatar rhaiscript

    rhaiscript/rhai

    5,453Vezi pe GitHub↗

    Rhai is an embedded scripting engine and dynamically typed language designed for integration into Rust applications. It functions as an abstract syntax tree compiler and native interop layer, allowing developers to map Rust types and functions into a scripting environment for bidirectional communication. The project serves as a framework for creating customizable domain-specific languages. It allows for the definition of custom operators, syntax, and restricted execution environments, enabling the creation of specialized languages with tailored functional sets. The engine covers a broad rang

    Rustembeddedembedded-scripting-languageno-std
    Vezi pe GitHub↗5,453
  • bitemyapp/learnhaskellAvatar bitemyapp

    bitemyapp/learnhaskell

    8,026Vezi pe GitHub↗

    This project is a comprehensive functional programming curriculum and learning resource for Haskell. It provides sequenced educational paths and technical reference guides designed to take developers from beginner to advanced levels of proficiency. The project distinguishes itself through a deep focus on theoretical and technical foundations, offering detailed studies on type theory, category theory, and runtime internals. It includes a dedicated performance handbook for optimizing execution speed and memory management, as well as an ecosystem guide for managing development tools and editor c

    Makefile
    Vezi pe GitHub↗8,026
  • holistics/dbmlAvatar holistics

    holistics/dbml

    3,520Vezi pe GitHub↗

    DBML is a domain-specific language and schema definition language used for documenting database architecture and design. It provides a human-readable text format for defining database tables, columns, and relationships in a standardized way. The project functions as a relational schema parser and SQL schema generator. It transforms declarative design specifications into an abstract syntax tree for programmatic manipulation and converts these definitions into executable SQL statements across various database dialects. The system covers relational data modeling, database schema design, and arc

    JavaScriptdatabase-schemadbmldbx
    Vezi pe GitHub↗3,520
  • Vezi toate cele 30 alternative pentru TrumpScript→