Crate ccode_runner

Source
Expand description

§ccode_runner

ccode_runner is a crate designed to execute code snippets in various programming languages. It supports both compiled and interpreted languages, providing a unified interface for running code and comparing outputs.

§Features

  • Multi-language Support: Capable of running code in Rust, Python, C, C++, Java, Ruby, and JavaScript.
  • Compilation and Interpretation: Automatically handles compilation for languages like C, C++, Rust, and Java, and interpretation for languages like Python, Ruby, and JavaScript.
  • Optimized Execution: Implements caching and precompilation to reduce execution times, especially useful in scenarios with repeated executions.
  • Program Store: Manages and stores compiled programs for efficient reuse.

§Modules

  • lang_runner: Contains the core logic for running code in different languages.
  • utils: Provides utility functions used throughout the crate.

Modules§

lang_runner
This module provides functionality for running and managing code in various programming languages.