NovaLang - A modern, functional programming language with premium features
Project description
NovaLang 🚀
A modern, functional programming language designed for the future.
✨ Features
- Modern Syntax: Clean, readable syntax inspired by the best of JavaScript and Python
- Functional Programming: First-class functions, lambdas, higher-order functions
- Rich Standard Library: Built-in functions for arrays, strings, math, JSON, and more
- VS Code Support: Full syntax highlighting and code snippets
- Interactive REPL: Easy development and testing
- Cross-Platform: Runs on Windows, macOS, and Linux
🚀 Quick Start
Installation
pip install novalang
Your First NovaLang Program
Create a file hello.nova:
// Variables and functions
let name = "World";
function greet(person) {
return "Hello, " + person + "!";
}
print greet(name);
// Higher-order functions
let numbers = [1, 2, 3, 4, 5];
let doubled = map(numbers, function(x) { return x * 2; });
print "Doubled: " + stringifyJSON(doubled);
Run it:
novalang hello.nova
3. Example
print("Hello, NovaLang!")
Project Structure
main.py— CLI entry pointlexer.py— Tokenizerparser.py— AST builderinterpreter.py— Code executortest.nova— Example NovaLang file
Contributing
Pull requests and issues are welcome!
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
novalang-1.0.2.tar.gz
(31.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
novalang-1.0.2-py3-none-any.whl
(34.3 kB
view details)
File details
Details for the file novalang-1.0.2.tar.gz.
File metadata
- Download URL: novalang-1.0.2.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd87c225b80df7af3b05d7fdffb175a0b63d04e4e30a4dca2725a721e4ca1d38
|
|
| MD5 |
be6ff071366999c3d6709125266aaf12
|
|
| BLAKE2b-256 |
0dc8b636e38e39e1b54f8f3a018298f7a307ef47e157549cc0d037efd988ff0b
|
File details
Details for the file novalang-1.0.2-py3-none-any.whl.
File metadata
- Download URL: novalang-1.0.2-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8217dc9cddc4548ac3173f321b7b4d4cb74c010dcdc804b0dab0e5aa1ccdbefd
|
|
| MD5 |
36085b149c3f50a577cb2406f41992d3
|
|
| BLAKE2b-256 |
05fba0206ae7a418deb2a74a936706c1bcc76e8d56b55b20fcdd81f83d13adc5
|