Skip to main content

Nova编程语言 - 一个现代、高性能的编程语言,支持LLVM JIT编译

Project description

Nova Language

Nova编程语言 - 一个现代、高性能的编程语言,支持LLVM JIT编译

特性

  • 完整的编译器系统:词法分析、语法分析、语义分析、代码生成
  • LLVM JIT编译:可选的LLVM后端,提供更高的执行性能
  • 包管理系统:支持包的安装、卸载和更新
  • 并行编译:多线程编译支持,可选GPU加速
  • 标准库:STL(标准模板库)和丰富的内置函数
  • 开发工具:VS Code插件、Nova IDE、增强的REPL

安装

使用pip安装

pip install nova-language

从源码安装

git clone https://github.com/SamShang01/nova-language.git
cd nova-language
python setup.py install

快速开始

创建一个 hello.nova 文件:

fn main() {
    println("Hello, Nova!");
}

运行程序:

nova run hello.nova

命令行工具

  • nova run <file> - 运行Nova程序
  • nova compile <file> - 编译Nova程序
  • nova repl - 启动交互式REPL环境
  • nova install <package> - 安装包
  • nova uninstall <package> - 卸载包
  • nova update <package> - 更新包

文档

贡献

欢迎贡献代码、报告问题或提出建议!

许可证

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nova_language-1.0.0.tar.gz (198.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nova_language-1.0.0-py3-none-any.whl (218.7 kB view details)

Uploaded Python 3

File details

Details for the file nova_language-1.0.0.tar.gz.

File metadata

  • Download URL: nova_language-1.0.0.tar.gz
  • Upload date:
  • Size: 198.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nova_language-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1bb10d8502617b96c2490c9d741274e4541940826136cb57a13266d1b9cc5aaa
MD5 23accc57970fc890f445ff76d024e953
BLAKE2b-256 0c5a8cd7976859f480060672d3ab8dd1bf39f55aaff3161d23247b49c327d5ee

See more details on using hashes here.

File details

Details for the file nova_language-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nova_language-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 218.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nova_language-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ea4999c65bd5db3310063b02e3b49b1b9169358e0e95b325e0810c1656f56bf
MD5 cced62378ab8ca23d29aa382408e0208
BLAKE2b-256 3fccf7e3289b48d8d3f2c8949743b4ae382f03a35332c3f6e930113a94142a74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page