Repository navigation
Yeep Programming Language v2.0.3
Yeep Programming Language v2.0.1 Release Notes
Release Date: June 21, 2025
Version: 2.0.1
Codename: "Clean Slate"
🎉 Major Achievements
This release represents a complete modernization and stabilization of the Yeep programming language, moving from deprecated C code to a robust, production-ready C++ implementation.
✨ What's New
Core Language Features
- ✅ Variables and Data Types: Support for numbers, strings, booleans, nil, and arrays
- ✅ Arithmetic and Logic: Full expression evaluation with proper operator precedence
- ✅ Control Flow: If/else statements, while loops, and for loops with proper scoping
- ✅ Functions: User-defined functions with parameters, return values, and recursion support
- ✅ Arrays: Dynamic arrays with built-in manipulation functions
- ✅ Built-in Functions: Comprehensive library of math, string, type, I/O, and array functions
Built-in Function Library
- Math:
sqrt(),abs(),floor(),ceil(),min(),max(),pow() - String:
length(),substring(),uppercase(),lowercase(),str() - Type:
type()for runtime type checking - I/O:
input()for user interaction - Array:
size(),get(),set(),push(),pop()for array manipulation
Language Syntax
// Variables
let name = "Yeep";
let version = 2.0;
let isAwesome = true;
// Arrays
let numbers = [1, 2, 3, 4, 5];
let mixed = [1, "hello", true, 3.14];
// Functions
fun factorial(n) {
if (n <= 1) {
return 1;
}
return n * factorial(n - 1);
}
// Control Flow
for (let i = 0; i < size(numbers); i = i + 1) {
print "numbers[" + str(i) + "] = " + str(get(numbers, i));
}
🔧 Bug Fixes
Critical Fixes
- Fixed compilation errors: Resolved all C++ compilation issues and syntax errors
- Fixed for loop bounds checking: Eliminated array index out-of-bounds errors
- Fixed for loop initialization: Loops now correctly start from the initial value
- Fixed recursive function calls: Proper token stream management for recursion
- Fixed cosmetic parse errors: Eliminated spurious error messages during normal execution
Parser and Interpreter Improvements
- Enhanced token stream management: Proper positioning after complex statements
- Improved error handling: Clean execution with meaningful error messages
- Better expression parsing: Correct operator precedence and associativity
- Robust statement parsing: Proper handling of all statement types
Memory and Performance
- Proper scope management: Clean variable scoping for functions and loops
- Efficient token processing: Optimized parsing without unnecessary executions
- Stable recursion: Reliable recursive function execution
🚀 Technical Improvements
Modern C++ Implementation
- Clean Architecture: Separated lexer, parser, and interpreter components
- Object-Oriented Design: Proper encapsulation and modular structure
- Exception Handling: Robust error handling throughout the codebase
- STL Integration: Efficient use of standard library containers
Development Tools
- Build System: Streamlined batch file build process for Windows
- Test Suite: Comprehensive test files covering all language features
- Documentation: Complete language specification and user guides
📁 Project Structure
yeep-prolag/
├── src/ # Modern C++ source files
│ ├── main.cpp # Entry point
│ ├── Lexer.cpp # Tokenization
│ ├── Interpreter.cpp # Execution engine
│ ├── Token.cpp # Token management
│ └── BuiltinFunctions.cpp # Built-in function library
├── include/ # Header files
├── build/ # Compiled executables
├── deprecated/ # Legacy C code (moved)
├── examples/ # Example Yeep programs
└── test_*.yeep # Comprehensive test suite
🧪 Quality Assurance
Tested Features
- ✅ All basic language constructs
- ✅ Complex nested expressions
- ✅ Recursive function calls
- ✅ Array operations and bounds checking
- ✅ Control flow edge cases
- ✅ Built-in function coverage
- ✅ Error handling and recovery
Test Coverage
test_simple.yeep- Basic functionalitytest_functions.yeep- Function definitions and callstest_arrays.yeep- Array operationstest_for_loops.yeep- Loop constructsfeature_showcase.yeep- Comprehensive demonstrationcalculator_example.yeep- Real-world application
🎯 Performance Metrics
- Compilation: Clean build with only minor warnings
- Execution: Stable performance across all test cases
- Memory: Proper cleanup and scope management
- Error Handling: Graceful failure with meaningful messages
📚 Documentation
README.md- Getting started guideLANGUAGE_SPEC_V2.md- Complete language specificationUSER_GUIDE.md- User documentationINSTALLATION.md- Setup instructionsCONTRIBUTING.md- Development guidelines
🔄 Migration from v1.x
This release represents a complete rewrite from C to C++. Legacy C code has been moved to the deprecated/ folder for reference but is no longer maintained.
Breaking Changes
- New C++ implementation requires recompilation
- Improved syntax may require minor script updates
- Enhanced error messages may show different formatting
Upgrade Benefits
- Reliability: Rock-solid execution without crashes
- Features: Complete feature set with modern language constructs
- Performance: Optimized C++ implementation
- Maintainability: Clean, modular codebase for future development
🚦 Installation
Quick Install (Windows)
# One-line installation
powershell -ExecutionPolicy Bypass -File install-one-line.ps1
# Or manual build
build-v2.batUsage
# Run Yeep programs
yeep.exe your_program.yeep
# Interactive examples
yeep.exe feature_showcase.yeep
yeep.exe calculator_example.yeep🤝 Contributing
Yeep v2.0.1 represents a stable foundation for future development. We welcome contributions in:
- Language feature enhancements
- Built-in function additions
- Performance optimizations
- Documentation improvements
- Test case expansion
🎖️ Credits
This release represents a complete modernization effort, transforming Yeep from a proof-of-concept C implementation into a production-ready programming language with modern C++ architecture.
🔮 Future Roadmap
- Enhanced error messages with line numbers and context
- More built-in functions (file I/O, networking, etc.)
- IDE integration and syntax highlighting
- Package management system
- Cross-platform compilation
Download: yeep-v2.0.1-windows.zip
Documentation: Complete Language Guide
Examples: Feature Showcase
Yeep v2.0.1 - A Clean, Modern Programming Language 🚀