You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
The program prints "hello world" 100 times then creates a Dog struct
.meta ; used for imports/exports and storing metadata; instructions/data stored in meta block are prefixed with a `.`.const name "Basic Program".extern<io> io ; importing the standard library, I/O..data ; used for storing program data; instructions/data stored in data block are prefixed with a `.`.const msg "hello world".var x 100.struct Dog { name str } .code ; used for actual instructionsloop: load xpush0 eq jmpc endpush msgcall[io]println load xpush1sub store xjmploopend:push"Barry"load Dogstore pet_doghalt
documentationImprovements or additions to documentation
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Example 1: Basic Program
The program prints "hello world" 100 times then creates a Dog struct
Beta Was this translation helpful? Give feedback.
All reactions