awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
goplus avatar

goplus/xgo

0
View on GitHub↗
9,436 stars·567 forks·Go·Apache-2.0·24 viewsxgo.dev↗

Xgo

Xgo is a programming language that combines familiar constructs from languages like C/C++, Go, Python, and JavaScript with a natural language-style syntax that reads closer to plain English. It executes programs compatible with the Go language, allowing reuse of existing Go libraries and tooling, and supports mixing Go and XGo source files within a single package for gradual adoption of its simplified syntax.

The language distinguishes itself through direct foreign function interface capabilities, enabling calls to C/C++ and Python libraries using specialized string literal syntax without manual binding code. It also supports shell script execution using structured programming syntax, file-based routing for web applications where filenames determine HTTP method and path, and event-driven 2D game development with actors responding to start and broadcast events. XGo provides a dedicated HTML DOM query language for data processing, and organizes code into packages and functions following Go-style conventions.

XGo covers standard programming fundamentals including variable declaration and initialization, array operations, complex number arithmetic, custom data structure definitions, and error handling through explicit return values and custom error types. It supports object-oriented programming through type and interface composition, closure variable capture, deferred cleanup operations, and capitalization-based visibility control for package-level identifiers.

Features

  • English-Like Syntax Languages - Defines a programming language with natural language-style syntax that reads closer to plain English.
  • Data Structure Definitions - Creates structured data types like structs, arrays, slices, and maps to organize information.
  • Go-Python Bridges - Provides a string-literal syntax for directly calling Python functions from Go code.
  • Programming Fundamentals - Writes programs that execute statements sequentially, covering variables, control flow, and basic data types.
  • Native Library Invocations - Ships a string-literal syntax for directly calling C/C++ functions from Go code.
  • Go-Compatible Language Runtimes - Executes programs compatible with the Go language, enabling reuse of existing Go libraries and tooling.
  • Direct Multi-Language FFI Calls - Provides direct foreign function interface to C/C++, Python, and JavaScript libraries without manual bindings.
  • Familiar Programming Constructs - XGo uses common programming constructs like loops, conditionals, functions, and data structures that mirror those in C/C++, Go, Python, and JavaScript.
  • Cross-Language FFI Bridges - Provides direct foreign function interface to C/C++ and Python libraries using specialized string literal syntax.
  • Structured Program Writing - XGo organizes code into reusable functions, methods, and interfaces with error handling and type abstraction.
  • Visibility Access Controls - Controls package-level identifier visibility using capitalization conventions for exported and private names.
  • Package-Based Code Organization - Organizes code into packages and functions using Go-style syntax for modular development.
  • Mixed Go and XGo Source Files - Enables incremental adoption of XGo syntax by mixing Go and XGo source files in the same package.
  • File-Based Routing - Defines HTTP routes by mapping filenames to methods and paths in YAP files.
  • Array Element Accessors - Supports reading and writing array elements by index using bracket notation.
  • Structured Shell Execution - Runs shell commands and scripts using structured XGo syntax without requiring a module file.
  • Event-Driven Actor Games - Enables event-driven 2D game development with actors responding to start and broadcast events.
  • Event-Driven Actor Systems - Builds interactive 2D games where sprites respond to start and broadcast events.
  • Component Extractions - Provides built-in functions to retrieve the real and imaginary components of complex numbers.
  • Standard Output Printing - Implements standard output printing with a command-style syntax without parentheses.
  • Error - Returns errors as an explicit separate return value alongside the result for visible error handling.
  • Structured Shell Scripting Languages - Ships a structured programming language syntax for writing shell commands and scripts.
  • Type and Interface Extensions - Combines types through struct embedding and defines contracts with interfaces for flexible, reusable code.
  • Variable Type Declarations - Declares boolean variables that default to false when no value is assigned.
  • Fixed-Length Declarations - Declares fixed-length arrays with a predetermined size and uniform type, defaulting to zero values.
  • Closure Captures - Captures variables from enclosing scopes so each closure instance retains and can modify its own copy.
  • Multidimensional Arrays - Composes one-dimensional array types to create multidimensional data structures.
  • In-Place Value Swaps - Exchanges values of two or more variables in one line without a temporary variable.
  • Runtime Exception Handling - Manages runtime problems using error returns and exception handling to keep programs robust.
  • Variable Assignments - Assigns values to existing variables using the = operator with single or multiple simultaneous assignments.
  • Complex Arithmetic Primitives - Supports addition, subtraction, multiplication, and division of complex numbers using standard operators.
  • Short Variable Declarations - Declares and initializes variables in a single statement using the := operator.
  • DOM Query Languages - Provides a dedicated HTML DOM query language for data processing within XGo.

Star history

Star history chart for goplus/xgoStar history chart for goplus/xgo

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does goplus/xgo do?

Xgo is a programming language that combines familiar constructs from languages like C/C++, Go, Python, and JavaScript with a natural language-style syntax that reads closer to plain English. It executes programs compatible with the Go language, allowing reuse of existing Go libraries and tooling, and supports mixing Go and XGo source files within a single package for gradual adoption of its simplified syntax.

What are the main features of goplus/xgo?

The main features of goplus/xgo are: English-Like Syntax Languages, Data Structure Definitions, Go-Python Bridges, Programming Fundamentals, Native Library Invocations, Go-Compatible Language Runtimes, Direct Multi-Language FFI Calls, Familiar Programming Constructs.

What are some open-source alternatives to goplus/xgo?

Open-source alternatives to goplus/xgo include: gopl-zh/gopl-zh.github.com — This project is a Chinese translation of a comprehensive guide to the Go programming language. It serves as a… rockstarlang/rockstar — Rockstar is an esoteric programming language whose syntax is inspired by 1980s hard rock and heavy metal lyrics,… rust-lang/rust-by-example — This project is an interactive programming education resource and tutorial designed for learning the Rust programming… goplus/gop — Gop is a general purpose programming language and cross-language compiler designed to unify assets and libraries from… federico-busato/modern-cpp-programming — This project is a comprehensive educational resource and programming course covering C++ language semantics and… carp-lang/carp — Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless…

Open-source alternatives to Xgo

Similar open-source projects, ranked by how many features they share with Xgo.
  • gopl-zh/gopl-zh.github.comgopl-zh avatar

    gopl-zh/gopl-zh.github.com

    4,958View on GitHub↗

    This project is a Chinese translation of a comprehensive guide to the Go programming language. It serves as a localized educational resource and technical manual designed to provide guidance on language syntax, design, and software development. The resource covers a broad range of Go language education, including the implementation of programming patterns and system design. It includes translated lessons and examples that focus on core language features such as concurrency and the use of interfaces. The content spans various capability areas, including language fundamentals, data modeling, r

    Goprogramming-language
    View on GitHub↗4,958
  • rockstarlang/rockstarRockstarLang avatar

    RockstarLang/rockstar

    6,882View on GitHub↗

    Rockstar is an esoteric programming language whose syntax is inspired by 1980s hard rock and heavy metal lyrics, making programs read like song lyrics. It uses poetic number literals, where the length of each word in a phrase is parsed as a decimal digit to initialize numeric variables, and pronoun-based variable references, where words like "it" and "they" resolve to the most recently assigned or compared variable at runtime. The language can be compiled to WebAssembly and run inside a web page for in-browser code execution. The language distinguishes itself through a lyric-driven parsing sy

    JavaScript
    View on GitHub↗6,882
  • rust-lang/rust-by-examplerust-lang avatar

    rust-lang/rust-by-example

    8,026View on GitHub↗

    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

    Handlebars
    View on GitHub↗8,026
  • goplus/gopgoplus avatar

    goplus/gop

    9,439View on GitHub↗

    Gop is a general purpose programming language and cross-language compiler designed to unify assets and libraries from multiple programming ecosystems into a single shared environment. It translates high-level source code into executable binaries using specialized backends tailored for different target environments. The project features a system for natural language programming, transforming human-readable instructions written in plain English into executable code. It also functions as a cross-language tool that imports and integrates external libraries and assets from different language ecosy

    Go
    View on GitHub↗9,439
  • See all 30 alternatives to Xgo→