- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Home
        Nishal K edited this page Sep 29, 2025 
        ·
        2 revisions
      
    Veyra is a modern programming language designed for web development and rapid prototyping, featuring built-in web capabilities and a clean, readable syntax.
pip install veyraCreate a file hello.veyra:
println("Hello, Veyra!");
Run it:
veyra hello.veyra- Built-in HTML/CSS generation
 - Web server functionality
 - UI component library
 
- Matrix operations
 - Neural network primitives (ReLU, sigmoid, softmax)
 - Linear regression utilities
 
- Object-oriented programming with classes
 - Error handling with try/catch
 - Functional programming support
 - Rich standard library
 
- Interactive REPL with multi-line support
 - Easy package management
 - Comprehensive documentation
 
- Language Guide - Complete language reference
 - Standard Library - Built-in functions and modules
 - Examples - Code samples and tutorials
 - API Reference - Technical API documentation
 
fn main() {
    let page = create_page("My App", 
        html_element("h1", "Welcome!"),
        css_style("body", "background: #f0f0f0;")
    );
    web_serve(page, 8080);
}
fn main() {
    let input = [0.5, 0.3];
    let weights = [[0.1, 0.2], [0.3, 0.4]];
    let output = matrix_multiply([input], weights);
    println("AI output: " + relu(output[0][0]));
}
fn main() {
    let data = json_parse(read_file("data.json"));
    let processed = data.map(item => item.value * 2);
    write_file("output.json", json_stringify(processed));
}
veyra/
βββ src/veyra/           # Core language implementation
β   βββ cli.py          # Command line interface
β   βββ lexer.py        # Lexical analysis
β   βββ parser.py       # Syntax parsing
β   βββ interpreter.py  # Runtime execution
β   βββ lib/            # Standard library modules
βββ examples/           # Example programs
βββ tests/              # Test suite
βββ docs/               # Documentation
We welcome contributions! See our Contributing Guide for details.
git clone https://github.com/nishal21/veyra.git
cd veyra
pip install -e .pytest tests/- GitHub Issues: Report bugs and request features
 - Discussions: Join the conversation
 - PyPI: Install the latest release
 
This project is licensed under the MIT License - see the LICENSE file for details.
Veyra - Making web development fun and accessible! π
Last updated: September 2025