linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Add ArkScript language

Open SuperFola opened this issue 4 years ago • 1 comments

Language name

ArkScript

URL of example repository

Examples are hosted here: https://github.com/ArkScript-lang/Ark/tree/dev/examples

Also here (the standard library) https://github.com/ArkScript-lang/std

URL of syntax highlighting grammar

A basic hightlighting syntax is available here: https://github.com/ArkScript-lang/ArkScript-VSC/blob/master/syntaxes/arkscript.tmLanguage.json, though it doesn't handle macros (which are just !{name value}, so if ! get colored, it's fine because {} is already part of the language and would get highlighted as well).

Most popular extensions

The single extension used for the language is .ark, other such as .arkm (an ArkScript module, compiled as a DLL/SO/DYNLIB) or .arkc (ArkScript compiled file, a bytecode) are not meant to be published and can not be highlighted (because they are binary files).

Detected language

.ark is in ArkScript

SuperFola avatar Jun 09 '21 17:06 SuperFola

How many of the 64K .ark files are actually ArkScript? Using keyword 'let' gives only 119 files.

Nixinova avatar Aug 12 '21 04:08 Nixinova