How to use Glowscript; The ultimate guide

https://github.com/CampbellSoftware/Tardigrade

Hello. I am Grayson. I recently built a programming language I call Glowscript. It doesn’t have a compiler yet, but runs in a tkinter script. Here is how you can use Glowscript for sorting and messing wit…


This content originally appeared on DEV Community and was authored by Grayson Campbell

https://github.com/CampbellSoftware/Tardigrade

Hello. I am Grayson. I recently built a programming language I call Glowscript. It doesn't have a compiler yet, but runs in a tkinter script. Here is how you can use Glowscript for sorting and messing with data!

Hello World

PRINT Hello World

Let's break it down. The PRINT function prints Hello World onto the terminal. Pretty straightforward!

Setting Variables

SET x Hello
SET y World
PRINT x y

Let's break it down. SET sets two variables named x and y with values "Hello" and "World". Then, PRINT prints them out.

Loops

SET x 0
PLUS x 1
PRINT x
LOOP 2 5

Let's break it down. SET sets x to 0, and plus adds 1 to x. PRINT prints x to the console. The LOOP function goes to line 2 5 times. In other words, every time you hit LOOP, it's counter, 5, goes down by 1, and once the counter reaches 0, LOOP does nothing.

And More!

If you want to learn Glowscript, go to https://github.com/CampbellSoftware/Tardigrade now!


This content originally appeared on DEV Community and was authored by Grayson Campbell


Print Share Comment Cite Upload Translate Updates
APA

Grayson Campbell | Sciencx (2025-06-22T02:52:44+00:00) How to use Glowscript; The ultimate guide. Retrieved from https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/

MLA
" » How to use Glowscript; The ultimate guide." Grayson Campbell | Sciencx - Sunday June 22, 2025, https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/
HARVARD
Grayson Campbell | Sciencx Sunday June 22, 2025 » How to use Glowscript; The ultimate guide., viewed ,<https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/>
VANCOUVER
Grayson Campbell | Sciencx - » How to use Glowscript; The ultimate guide. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/
CHICAGO
" » How to use Glowscript; The ultimate guide." Grayson Campbell | Sciencx - Accessed . https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/
IEEE
" » How to use Glowscript; The ultimate guide." Grayson Campbell | Sciencx [Online]. Available: https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/. [Accessed: ]
rf:citation
» How to use Glowscript; The ultimate guide | Grayson Campbell | Sciencx | https://www.scien.cx/2025/06/22/how-to-use-glowscript-the-ultimate-guide-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.