Skip to content

forthix/forthic-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forthic Rust Runtime

A Rust implementation of the Forthic stack-based concatenative programming language.

Overview

Forthic is a stack-based, concatenative language designed for composable transformations. This is the official Rust runtime implementation, providing full compatibility with other Forthic runtimes while leveraging Rust's memory safety and zero-cost abstractions for high performance.

Learn more at forthix.com →

Features

  • ✅ Complete Forthic language implementation
  • ✅ All 8 standard library modules
  • ✅ Memory-safe, thread-safe execution environment
  • ✅ Seamless interop with Rust types

Development

# Compile
cargo build

# Run tests
cargo test

# Check types and borrow checker
cargo check

# Run with optimizations
cargo run --release

Standard Library Modules

  • core: Stack operations, variables, control flow
  • array: Data transformation (MAP, SELECT, SORT, etc.)
  • record: Dictionary/HashMap operations
  • string: Text processing
  • math: Arithmetic operations
  • boolean: Logical operations
  • datetime: Date/time manipulation (using chrono)
  • json: JSON serialization (using serde_json)

License

BSD 2-CLAUSE

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages