Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Shard is a programming language that combines low-level control, suitable for operating systems, with the flexibility to develop high-level applications.

License

Notifications You must be signed in to change notification settings

shardlanguage/shard

Repository files navigation

The Shard programming language

What is Shard?

Shard is a programming language that combines low-level control, suitable for operating systems, with the flexibility to develop high-level applications.

Features

  • C-like syntax, but cleaner and modern
  • Strong typing: supports built-in and user-defined types
  • Pointers like in C
  • Structures and arrays easy to declare, initialize and access
  • Preprocessor with pattern-based macros
  • Cross-platform backend: compiles to C code and supports freestanding, configurable target compiler
  • Extensible compiler: adding backends is easy
  • Namespaces organize your code into logical units

Installation

Step 1: clone the repository

git clone https://github.com/shardlanguage/shard

Step 2: make sure that you have Python3 installed on your system

python3 --version

Step 3: run the installation script as root

cd shard
chmod +x install.sh
su
./install.sh

Step 4: test the installation

shardc --version

Updating

To update Shard automatically, run update.sh:

cd shard
chmod +x update.sh
su
./update.sh

Makefile and make.bat are used to build the docs locally!

Learn Shard

If you want to learn Shard, you can read the full documentation here.

Contributing

The contributing guide can be found here.

About

Shard is a programming language that combines low-level control, suitable for operating systems, with the flexibility to develop high-level applications.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages