github-linguist/linguist

Please add support for Seed7

Open

#5,350 opened on 2021年5月2日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Ruby (5,166 forks)batch import
Add LanguageGood First Issue

Repository metrics

Stars
 (13,466 stars)
PR merge metrics
 (平均マージ 102d 5h) (30d で 19 merged PRs)

説明

Language name

Seed7

URL of example repository

Highlighted examples are here and in the sub pages of the algorithms. Currently non-highlighted examples are at: https://github.com/ThomasMertes/seed7/tree/master/prg https://github.com/ThomasMertes/seed7/tree/master/lib

URL of syntax highlighting grammar

Since Seed7 is also about syntax extensions this is not so easy to do. But the Seed7 Homepage uses syntax highlighting that can be used as guideline. You can see in the Seed7 examples which colors are used.

Keywords are blue (CSS: { color: blue} ). The keywords are: begin, case, const, do, downto, else, elsif, end, enum, for, forward, func, if, in, include, inout, is, local, new, of, otherwise, param, range, ref, repeat, return, struct, sub, syntax, system, then, to, until, val, var, when, while Operator symbols are also blue. The operator symbols are: and, conv, digits, div, exp, in, lpad, lpad0, mdiv, mod, mult, not, or, parse, rem, rpad, sci, times, varConv Types are red (CSS { color: red } ). Predefined type names are: array, func, hash, set, varfunc, bigInteger, bigRational, bitset, boolean, char, clib_file, color, complex, duration, expr, file, float, integer, object, proc, program, rational, reference, ref_list, string, text, time, type, void, PRIMITIVE_WINDOW Comments are green (CSS: { color: green } ). There are line comments that start with a # and extend to the end of the line. There are also block comments that start with (* and end with *) . Block comments can nest. String and char literals are maroon (CSS: { color: maroon } ). Strings literals start and end with " . A backslash can be used to escape a " inside a string literal. Char literals start and end with ' . A backslash can be used to escape a ' inside a char literal.

Most popular extensions

.sd7 .s7i

Detected language

.sd7 Seed7 program .s7i Seed7 library

コントリビューターガイド