Skip to content

A very simple "Coding Language" made in Python! | Use https://sgc.freakybob.site/ to write code more easily!

Notifications You must be signed in to change notification settings

Freakybob-Team/SigmaGreg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

SigmaGreg

A love note to LigmaBalls

SigmaGreg is a simple "coding language" built in Python. Originally created in C++, SigmaGreg has evolved thanks to the peakness of Python, leaving C++ behind.


Commands

Click to see the list of commands
  • gregPr - This command prints variables and text!
  • gregMa - Allows you to do math! Ex: gregMa 2 + 2 or gregMa answer 4 * 2
  • gregIn - Allows you to get input and changes value of variables!
  • gregWRITE - So you can write more than 1 line of SigmaGreg Code inside the main.py!
  • gregRUN - Runs the program you just made!
  • gregType - Tells you what type of variable something is! Ex: Variable 'greg' is of type str greg
  • gregRandom - Gets a random number through 2 numbers you give! Ex: gregRandom 2 5
  • gregPrintAll - Prints all the variables and their values!
  • gregBeep - Plays a beep sound!
  • make_file - Makes the last program you wrote using gregWRITE and turns it into a sgc file!
  • gregSleep - Makes the terminal wait for how ever long you put it before printing anything else! Ex: gregSleep 3
  • gregCurDateTime - Prints out the current time and date!
  • gregClear - Clears the terminal screen!
  • gregCurTime - Prints the Current time!
  • gregCurDate - Prints out the current date!


How to get SGC File support

Open this to learn how!

MAKE SURE TO MAKE IT AN EXE FIRST. THE EXE TOOL IS IN THE TOOLS FOLDER. Currently only Windows Supported..

1. Download the full SigmaGreg ZIP and extract it

2. Go to the System Folder and run the sgc_compatible.bat

3. It'll ask for admin, this is completely safe and it's only for giving access to give support to Sgc files :3
(It'll get rid of the admin after ending the program!!)

4. Get the full path from the Interpreter.exe in the folder you made it and put it where it asks for it.
⚠️DON'T ADD QUOTES TO THE PATH OR IT'LL NOT WORK. IT'S COMMON SENSE 😭⚠️

5. Get the full path of the ico from the SIGMAGREG folder and put it where it asks.
⚠️AGAIN, NO QUOTES 😭⚠️

6. Press enter once you get all the Paths in the terminal and it'll make sgc files compatible with your laptop!
Test it out by running a sgc file!


How to Write SigmaGreg

Click here to see examples and how to write SigmaGreg code

Writing SigmaGreg is very easy and can be used for VERY SIMPLE PROGRAMS, it's not a coding language for like making a full ah game or app.. it's just for fun :3

-----------------------------------------------

How to Print variables and strings

example1

How to get user input and print it out in a F-String

example2

How to do math and put it into a variable

How to use the date commands

How to use stuff for variables

How to use sleeping

How to use gregBeep

How to use gregRandom

How to clear the terminal screen

How to write if statements


2024-2025 Freakybob-Team. Everything is licensed under MIT.

This is still very new. Expect bugs.