Skip to content

vaxp/VenomShell-Developer-Preview

Repository files navigation

VenomShell – Developer Preview

VenomShell is a Bash-compatible execution runtime, written from scratch in C, focused on performance, correctness, and a modern execution model.

This repository provides a binary-only developer preview, along with comprehensive test scripts, intended for early evaluation and feedback from developers.


🚧 Project Status

  • Stage: Developer Preview (pre-beta)
  • Compatibility: Bash syntax (not a Bash fork)
  • Focus: Execution engine, runtime semantics, performance
  • Source Code: Not released yet

📢 Source code will be published one week from now.


✨ What is VenomShell?

  • Not a new shell language
  • Not a fork of Bash
  • A runtime / execution engine that runs Bash scripts using:
    • Custom lexer
    • Custom parser
    • AST-based execution
    • Optimized expansion and builtin handling

The goal is to explore a cleaner and faster execution model while remaining compatible with existing Bash scripts.


✅ Current Capabilities (Preview)

  • Core Bash control structures (if, for, while, case)
  • Pipelines, redirections, process substitution
  • Parameter expansion, brace expansion, substring expansion
  • Arrays and associative arrays
  • Functions, eval, trap, set
  • Job control (basic)
  • mapfile / readarray
  • Extensive automated test coverage

Interactive UX features (such as history behavior) are still under active development.


🧪 Testing

This repository includes test scripts used to validate Bash compatibility and runtime behavior.

To run tests:

bash tests/comprehensive_test.sh

🧪 Example

./build/venom -c 'i=0; while [ $i -lt 10 ]; do echo $i; i=$((i+1)); done'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published