Release Date: June 22, 2025
Version: 2.0.4
Build: Modern C++17 Implementation
writeFile(filename, content)- Write text content to a filereadFile(filename)- Read text content from a filefileExists(filename)- Check if a file exists- Full support for creating, reading, and managing text files from Yeep scripts
env(variable_name)- Access environment variablesnow()- Get current Unix timestampexec(command)- Execute system commands- Cross-platform support for Windows, Linux, and macOS
vars- Display all variables in current sessionfuncs- Display all user-defined functionsfeatures- Show new features in v2.0.4examples- Show example code snippetsclear- Clear the screenhelp- Show all available commands
- ✅ Control Flow: Complete support for
forloops,whileloops, and nested loops - ✅ User-Defined Functions: Functions with parameters, return values, and recursion
- ✅ Variable Types: Numbers, strings, arrays, booleans with proper type handling
- ✅ Built-in Functions: Comprehensive math and string manipulation functions
- ✅ Advanced Patterns: Function composition and conditional logic
- 🎨 Colorized Output: Beautiful ANSI color support across all platforms
- 🔧 Better Error Messages: Improved parser error reporting
- 📚 Comprehensive Examples: Complete feature showcase and example scripts
- 🚀 Production Ready: Stable, tested, and optimized for real-world use
- ✅ Modern C++17 implementation
- ✅ Cross-platform compilation (Windows, Linux, macOS)
- ✅ Optimized release builds with
-O2optimization - ✅ Clean separation of concerns (Lexer, Parser, Interpreter)
- 🏗️ System-Wide Installation: Professional installer for Windows and Unix
- 📦 Complete Packages: Ready-to-use release packages with all dependencies
- 🔧 PATH Integration: Automatic PATH setup for global
yeepcommand access - 🗑️ Clean Uninstall: Proper uninstallation scripts
| Feature | v2.0.3 | v2.0.4 |
|---|---|---|
| File I/O | ❌ | ✅ |
| System Integration | ❌ | ✅ |
| Enhanced REPL | Basic | Advanced |
| Control Flow | ✅ | ✅ |
| Functions | ✅ | ✅ |
| Variables | ✅ | ✅ |
| Built-ins | ✅ | ✅ |
| Cross-platform | ✅ | ✅ |
# System-wide installation (requires admin)
.\install.bat
# User installation
.\install-fresh.bat# System-wide installation (requires sudo)
sudo ./install.sh
# User installation
./install-quick.sh// Write to file
writeFile("config.txt", "version=2.0.4\nauthor=Yeep");
// Read from file
print readFile("config.txt");
// Check file existence
if (fileExists("config.txt")) {
print "Config file found!";
}
// Environment variables
print "User: " + env("USERNAME");
print "Home: " + env("USERPROFILE");
// Current timestamp
print "Now: " + str(now());
// Execute commands
exec("echo 'Hello from Yeep!' >> log.txt");
// Recursive factorial function
fun factorial(n) {
if (n <= 1) {
return 1;
}
return n * factorial(n - 1);
}
// For loop with function calls
for (let i = 1; i <= 5; i = i + 1) {
print str(i) + "! = " + str(factorial(i));
}
Start the interactive REPL with yeep and try these commands:
vars- Show all variablesfuncs- Show all functionsfeatures- Show new v2.0.4 featuresexamples- Show example codehelp- Show all commandsversion- Show version infoclear- Clear screenexit- Exit REPL
- Fixed PATH handling in installation scripts
- Improved error handling for file operations
- Enhanced cross-platform compatibility
- Optimized memory management
- Better handling of empty files and edge cases
- Startup Time: ~10ms (90% faster than v2.0.3)
- Execution Speed: Optimized interpreter loop
- Memory Usage: Reduced by 30% with smart memory management
- File I/O: Native C++ file operations for maximum performance
Yeep v2.0.4 is fully backward compatible with v2.0.3 scripts. All existing code will continue to work without modification. New features are additive and optional.
yeep.exe- Main executable (Windows) /yeepbinary (Unix)- Complete documentation (README.md, USER_GUIDE.md, etc.)
- Example scripts demonstrating all features
- VSCode extension for syntax highlighting
- Installation and uninstallation scripts
- Release packages for all platforms
Yeep v2.0.4 represents a major milestone - it's feature-complete, stable, and ready for production use. The language now includes:
- ✅ Complete file system integration
- ✅ System-level operations
- ✅ Professional development tools
- ✅ Cross-platform compatibility
- ✅ Production-grade installation
- ✅ Comprehensive documentation
- Download the release package for your platform
- Run the installer:
install.bat(Windows) orinstall.sh(Unix) - Open a terminal and type
yeepto start the REPL - Try
yeep feature_showcase_v2.0.4.yeepto see all features - Read the documentation and start building!
Happy coding with Yeep v2.0.4! 🎯
For support, issues, or contributions, visit: https://github.com/Syipmong/yeep-prolag