Skip to content

profsucrose/stegglang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stegglang!

A steggy-complete interpreter using gcc paired with its own VS Code extension to give the full Stegglang programming experience!

Install

Installation is simple! Simply download and run the executable:

git clone https://github.com/profsucrose/stegglang.git && cd stegglang && ./init.sh

This will both install the stegglang CLI and the stegglang VS Code extension for .stegg file support. Installing the VS Code extension requires you have the code command in your $PATH.

To run a .stegg file, simply run

steggy-run myprogram.stegg

Documentation

Stegglang is #1 easy and powerful language

Hello Steggy

startstegg

stegg

endofstegg

will print "Steggy!" the entry point for every stegg program is the codeblcok be in startstegg and endofstegg. all code be in main stegg block but make sure to put button outside main stegg block

Logging

stegg

to print "stegg" or

steggysays "Hello World!" steggystopssaying

to print the given string

Constants

steggy likes to name values

steggydeclaresconstant STEGGY_CONSTANT tobe 10 endsteggyconstantdeclaration

access the value with its name

steggysays STEGGY_CONSTANT steggystopssaying

same with his points he only likes to name integers and nothing else so dont be going like naming a word or something or he will get mad at you

Steggpoints

Steggy is strong dinoswoar and needs only two number sto keep track of and modify all of his data there are two numbers you can change in memory steggpoint and steggpoint2 addsteggpoint/addsteggpoint2 to add steggpoint one losesteggpoint/losesteggpoint2 to lose steggpoint one whatissteggpoint/whatissteggpoint2 to print steggpoint note the above only prints it, to access a steggpoint simple use steggpoint/steggpoint2

Control Logic

Steggy is smart and knows which stegglines to steggy

steggywilldoconditionally <condition> steggywillthendo
  // Code block
 steggywillstopdoingaction

For conditional statement

steggy can also do loopy a specified number of times

dosteggthingfor 10 times
  // Code block
steggywillstopdoingaction

steggy can also keep doing loopy given condition stay good

steggywillkeepdoingconditionally <condition> steggywillthendo
  // Code block
steggywillstopdoingaction

Steggy buttons

Steggy can make his own button which he can press any time

setsteggybutton mySteggyButton does
  stegg
steggybuttondoesnomore

Now Steggy will proceed to press his button

pressbutton mySteggyButton stoppressingbutton

About

The new hit programming language among the hacker community

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published