All Projects → covscript → Covscript

covscript / Covscript

Licence: apache-2.0
Covariant Script Interpreter

Projects that are alternatives of or similar to Covscript

Umka Lang
Umka: a statically typed embeddable scripting language
Stars: ✭ 308 (+82.25%)
Mutual labels:  cross-platform, interpreter
Hyper Haskell
The strongly hyped Haskell interpreter.
Stars: ✭ 342 (+102.37%)
Mutual labels:  cross-platform, interpreter
Tcl
The Tcl Core. (Mirror of core.tcl-lang.org)
Stars: ✭ 342 (+102.37%)
Mutual labels:  cross-platform, interpreter
Pfp
pfp - Python Format Parser - a python-based 010 Editor template interpreter
Stars: ✭ 163 (-3.55%)
Mutual labels:  interpreter
Cosmos
A new logic programming language.
Stars: ✭ 164 (-2.96%)
Mutual labels:  interpreter
Ddoor
DDoor - cross platform backdoor using dns txt records
Stars: ✭ 168 (-0.59%)
Mutual labels:  cross-platform
Robot Js
Native system automation for node.js
Stars: ✭ 169 (+0%)
Mutual labels:  cross-platform
Klooni1010
libGDX game based on the original 1010!
Stars: ✭ 163 (-3.55%)
Mutual labels:  cross-platform
Div Games Studio
Complete cross platform games development package, originally for DOS but now available on modern platforms.
Stars: ✭ 168 (-0.59%)
Mutual labels:  cross-platform
Protogame
This project has been sunset as of 1st Jan 2018 and is no longer supported or maintained
Stars: ✭ 166 (-1.78%)
Mutual labels:  cross-platform
Boa
Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.
Stars: ✭ 2,509 (+1384.62%)
Mutual labels:  interpreter
Netcorecms
NetCoreCMS is a modular theme supported Content Management System developed using ASP.Net Core 2.0 MVC. Which is also usable as web application framework. This project is still under development. Please do not use before it's first release.
Stars: ✭ 165 (-2.37%)
Mutual labels:  cross-platform
Autopilot Rs
A simple, cross-platform GUI automation module for Rust.
Stars: ✭ 168 (-0.59%)
Mutual labels:  cross-platform
Uriparser
🔪 Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub
Stars: ✭ 163 (-3.55%)
Mutual labels:  cross-platform
Persistentbottomnavbar
A highly customizable persistent bottom navigation bar for Flutter
Stars: ✭ 165 (-2.37%)
Mutual labels:  cross-platform
Lc Finder
An image annotation and object detection tool written in C
Stars: ✭ 163 (-3.55%)
Mutual labels:  cross-platform
Pcgr
Personal Cancer Genome Reporter (PCGR)
Stars: ✭ 168 (-0.59%)
Mutual labels:  interpreter
Msquic
Cross-platform, C implementation of the IETF QUIC protocol.
Stars: ✭ 2,501 (+1379.88%)
Mutual labels:  cross-platform
Muon
GPU based Electron on a diet
Stars: ✭ 2,068 (+1123.67%)
Mutual labels:  cross-platform
Nf Interpreter
⚙️ nanoFramework Interpreter, CLR, HAL, PAL and reference target boards
Stars: ✭ 168 (-0.59%)
Mutual labels:  interpreter

Covariant Script Programming Language: The Interpreter


Welcome to the Covariant Script programming language!
Covariant Script is an open source, cross-platform programming language.
This project is an officially maintained Covariant Script interpreter.

Switch language

Features

  • Cross-platform, supporting most mainstream Operating Systems
    • Compatible with legacy compilers -- written in C++ 14
    • Linux and Unix: x86, ARM, MIPS, Loongson ISA
    • Microsoft Windows: x86
  • Powerful and bloat-free extension system
    • C/C++ Native Interface(CNI) System: translate invoking from both C/C++ and Covariant Script
    • Interpreter Bootstrap: A portable way to access the Covariant Script Runtime from C++
    • CNI Composer Macro: Combined the extension system and CNI system organically
  • Self-developed efficient compilation system
    • Dependency-free and efficient compiler front-end
    • Support compile-time optimization
    • Exportable compilation results
  • High-performance runtime environment
    • Hotspot optimization algorithm
    • Efficient memory management system
    • Reference count garbage collection system

Libraries

Standard Library

Platform Specified

Documentation

CovScript Wiki

Installation

Download nightly build installation package for debian-like system on x86_64 machine

  • Download the precompiled executable on the Latest Release
  • Directly compile source code with CMake toolchain

Run

Basic command

cs [options...] <FILE> [arguments...]
cs [options...]

Options

Interpreter
Option Mnemonic Function
--compile-only -c Only compile
--dump-ast -d Export abstract syntax tree
--dependency -r Export module dependency
Interpreter REPL
Option Mnemonic Function
--silent -s Close the command prompt
--args <...> -a <...> Set the covscript arguments

Note that everything you set after option --args or its mnemonic -a will be regarded as arguments.

Common
Option Mnemonic Function
--no-optimize -o Disable optimizer
--help -h Show help infomation
--version -v Show version infomation
--wait-before-exit -w Wait before process exit
--log-path <PATH> -l <PATH> Set the log path
--import-path <PATH> -i <PATH> Set the import path

Note that if you do not set the log path, it will be directly output to the standard output stream.

Debugger

cs_dbg [options...] <FILE>

Options

Option Mnemonic Function
--help -h Show help infomation
--version -v Show version infomation
--wait-before-exit -w Wait before process exit
--log-path <PATH> -l <PATH> Set the log path
--import-path <PATH> -i <PATH> Set the import path

Note that if you do not set the log path, it will be printed to stdout.

Examples

The examples folder contains several example programs written by Covariant Script.

Copyright

The author of the Covariant Script Programming Language is @mikecovlee, licensed under Apache 2.0
Copyright © 2017-2021 Michael Lee(李登淳)
This software is registered with the National Copyright Administration of the People's Republic of China(Registration Number: 2020SR0408026) and is protected by the Copyright Law of the People's Republic of China.

Thanks

Sichuan University , freeCodeCamp Chengdu Community
@imkiva, @ice1000 , @MouriNaruto, @Access-Rend, Weicheng Shi

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].