add one step build tool - #35
Open
Horldsence wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR introduces significant enhancements to HerLang, transforming it from a basic transpiler into a more modern, user-friendly programming language with improved tooling and expanded syntax.
Type: ✨ Feature Enhancement
Priority: 🚀 High
Breaking Changes: ❌ No (backward compatible)
🎯 Motivation
HerLang currently requires a multi-step compilation process (
hcp→g++) and has limited language features. This PR addresses several pain points:✨ What's New
🛠️ Modern Build System
HerLang.toml- Modern project configuration file (similar to Cargo.toml)tools/herlang.cpp- One-command build tool with friendly CLIherlang buildherlang new <project-name>🎭 Gentle Syntax Extensions
syntax/gentle_keywords.herc- Showcase of warm, inclusive language featuresgentle_functiongently_if,perhaps,otherwisetry_gently,catch_and_comfort🚀 Advanced Runtime Features
runtime/gentle_concurrency.hpp- Modern concurrency system🎨 Declarative UI Framework
ui/gentle_ui.hpp- Cross-platform UI framework💝 Enhanced Error Experience
📁 File Structure Changes
🔧 Technical Details
Build Tool Implementation
Language Features
.hercfilesConcurrency System
🧪 Testing
Manual Testing Commands
Expected Behavior
.hercfiles should compile without changes🔄 Backward Compatibility
.hercfiles remain compatiblehcpcommand continues to work📚 Documentation Impact
Updated Files
README.md- Will need update to showcase new features🌟 Benefits
For Beginners
For Experienced Developers
For the HerLang Community
🚀 Future Roadmap
Next Phase (v2.1)
Medium Term (v2.2)
🙏 Acknowledgments
This enhancement draws inspiration from: