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