रेंडरिंगhi

The language corpus

Faber भाषा कॉर्पस सार्वजनिक भाषा शब्दकोश है: इसमें प्रत्येक कीवर्ड, ऑपरेटर समूह या भाषा-प्रकार के लिए एक शीर्ष-स्तरीय डायरेक्टरी है। यह faber explain का विकास-स्रोत और बहु-लक्ष्य संकलन मैट्रिस के लिए प्राथमिक इनपुट है।

आँकड़े#

  • 292 .fab उदाहरण फ़ाइलें
  • index.toml में 174 रजिस्ट्री टर्म
  • लगभग 135 कीवर्ड और अवधारणा डायरेक्टरी

लेआउट#

corpus/
  functio/           # function keyword exemplars
  genus/             # record type exemplars
  si/                # conditional branch exemplars
  itera/             # iteration exemplars
  lista/ tabula/     # collection type exemplars
  tensor/ sparsa/    # tensor exemplars
  ad/                # capability call exemplars
  operatores/        # glyph / operator groups
  ...
  index.toml         # generated explain manifest

फ़ाइल प्रारूप#

प्रत्येक .fab फ़ाइल की शुरुआत टर्म का वर्णन करने वाले TOML फ्रंटमैटर से होती है:

+++
term = "functio"
kind = "keyword"
category = "function"
canonical = true
summary = "Declares a named function or method."
syntax = "functio <name>(<params>) [modifiers] [→ <type>] [⇥ <error-type>] <block>"
aliases = ["function"]
related = ["→", "⇥", "redde", "sponte"]
+++

functio saluta() {
    nota "Salve, Mundus!"
}

उपयोग#

faber explain functio       # show keyword reference
faber explain ≡             # show glyph reference
faber explain --search query # search across corpus
faber explain --list         # list all terms

श्रेणियाँ#

टर्म श्रेणियों के अनुसार व्यवस्थित हैं: function, control-flow, type, collection, transfer, annotation, iteration, destructuring, testing, cli, concept, operator-group, existing-home.