Keywords - ADIVIDAN1012/Beacon-Labs GitHub Wiki

๐Ÿ”‘ Beacon Language โ€“ Keywords

Beacon is a Universal User-Oriented Programming language. This page contains a full reference of its core language keywords, categorized by purpose.


๐Ÿ“š Navigation


๐Ÿ” Access Control

Keyword Meaning
Hidden Private
Shielded Protected
Avail Public
Internal Package-level
Expose Exposed/Public

๐Ÿงฌ Type Handling & Checking

Keyword Meaning
Kind Type of variable
Convert Type conversion
Ascribe Type annotation

๐Ÿ— Classes & Objects

Keyword Meaning
Blueprint Class
Bridge Interface/protocol
Adopt Inherit/extends
Crate Struct/dataclass
Facet Property
Fetch Getter
Assign Setter
Morph Operator overload
Model Generic/template
Belong Inheritance relation

๐Ÿงฑ Constants, Statics & Immutability

Keyword Meaning
Firm Constant/immutable
Solid Static

โš™ Functions & Special Features

Keyword Meaning
Spec Function definition
Forward Return
Den Lambda/anonymous fn
Adorn Decorator/attribute
Note Docstring/comment

๐Ÿงต Concurrency / Parallelism

Keyword Meaning
Paral Async/Parallel
Hold Await/pause
Signal Event/signal emitter

๐Ÿ“ File Handling

Keyword Meaning
Inlet File handle/input
Modify Write/set data
Seal Close file

๐Ÿง‘โ€๐Ÿ’ป User I/O

Keyword Meaning
Ask Input
Show Output/print

๐Ÿ“ฆ Serialization

Keyword Meaning
Pack Serialize
Unpack Deserialize

๐Ÿ“ก Event Handling

Keyword Meaning
Listen Event listener
Trigger Raise/fire event

๐Ÿ›  Debugging / Logging

Keyword Meaning
Track Debug/log
Trace Trace execution
Watch Watch variable

๐ŸŒ System / Environment

Keyword Meaning
Plug Import/use module
Share Export
Toolkit Module/package
Embed Embed resource
Link Join/link modules
Infuse Inject/dependency
Source Import from
Universal Global scope
Launch Entry point/main

โ™ป Memory Management

Keyword Meaning
Slip Free memory
Wipe Garbage collect

๐Ÿ” Control Flow & Loops

Keyword Meaning
Check If
Alter Else if
Altern Else
Select Switch
Option Case
Traverse For loop
Within Membership/range
Scope Range (for loop)
Until While loop
Give Yield/generator
Halt Break
Proceed Continue
Wait Pass/no-op
Leap Goto
Mark Label
Be Identity (is operator)

โš  Error Handling

Keyword Meaning
Attempt Try block
Trap Catch/except
Conclude Finally
Peek Inspect error
Blame Exception/error

๐Ÿ“Š Data Types

Keyword Meaning
Num Integer
Decim Float/decimal
Bit Boolean
Text String
Tag Enum
On Boolean True
Off Boolean False
Nil Null/None

๐ŸŽฒ Miscellaneous

Keyword Meaning
Authen Assert/verify
Transform Map
Condense Reduce
Solve Evaluate/run code
Erase Delete variable

๐Ÿ’ฌ Comments

  • Single-line: < this is a comment >
  • Multi-line: <^ this is a multi-line comment ^>
  • Docstring: Note: "Describe your function here."

ยฉ Beacon Foundation โ€ข Created by Aaditya Sadhu