Discuss Scratch
- BookOwl
- Scratcher
1000+ posts
Stack Language
Many of you know that I created a programming language called Stack in scratch. Many of you also know that I have been working on a new version of the language in python. I am pleased to announce that it is ready to be released into the world! I have been hard at workadding several new features and improvements from the previous version, including
Installation Instructions:
I plan on making a tutorial on how to use and program Stack, but until then try checking out the wikipedia page for stack-oriented programming languages for how stack-oriented programming languages work, and then check out the example programs for how Stack works specifically, and check out constants.py for the list of commands.
If you have any questions, please post them here and I will do my best to answer
You can find the Stack github repo here
P.S. for all of the Python3 haters: I would like to port this to python2, if anyone would like to help with that. @Ethan_1 has ported it, should be live soon.
- Lists!
- Functions!
- Lambdas!
- Ultra-efficient recursion! You can recurse FOREVER!!!
- Imports! (Thanks liam48D!)
- Comments!
Installation Instructions:
- Make sure you have Python 3.
- Download Stack as a zip file from the Stack github repository. The link is at the bottom of the post.
- Unzip the zip. Drag the stack folder (it's a few layers deep) into a location on your Python Module search path.
- Run the command in a terminal if you have python 3.3+. Otherwise, try running
py -3 -m stack.cli
You will see some simple greeting text, and a prompt to enter a filename of a Stack program. There are several example programs in the example directory. To run a hello, world program, enter examples/hello_world.stackpython -m stack.cli
I plan on making a tutorial on how to use and program Stack, but until then try checking out the wikipedia page for stack-oriented programming languages for how stack-oriented programming languages work, and then check out the example programs for how Stack works specifically, and check out constants.py for the list of commands.
If you have any questions, please post them here and I will do my best to answer
You can find the Stack github repo here
P.S. for all of the Python3 haters: I would like to port this to python2, if anyone would like to help with that. @Ethan_1 has ported it, should be live soon.
Last edited by BookOwl (Oct. 31, 2015 18:04:16)
who needs signatures
- WooHooBoy
- Scratcher
1000+ posts
Stack Language
Gonna mess around right now.Thanks! SWEET!
edit: I can help with docs if you want.
Last edited by WooHooBoy (Oct. 13, 2015 18:37:19)
considered harmful
- BookOwl
- Scratcher
1000+ posts
Stack Language
OK, once you get done, please tell me what you think of it.Gonna mess around right now.Thanks! SWEET!
who needs signatures
- WooHooBoy
- Scratcher
1000+ posts
Stack Language
I love it so far!OK, once you get done, please tell me what you think of it.Gonna mess around right now.Thanks! SWEET!
considered harmful
- Firedrake969
- Scratcher
1000+ posts
Stack Language
Use this.
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- Jonathan50
- Scratcher
1000+ posts
Stack Language
Cool!
this.But it is Python 3 already! Use
Not yet a Knight of the Mu Calculus.
- Jonathan50
- Scratcher
1000+ posts
Stack Language
Why? lol wow
my bad
https://pypi.python.org/pypi/3to2
Not yet a Knight of the Mu Calculus.
- CatsUnited
- Scratcher
1000+ posts
Stack Language
If any guys uses Py2.Why? lol wow
my bad
https://pypi.python.org/pypi/3to2
bottom text
- meowflash
- Scratcher
500+ posts
Stack Language
Can you make games using Stack?
More Stuff|My Bandcamp
My DeviantArt|Intro Voting For December 2015 August 10th 2016
Check out my Github, too!
Kumquats, this signature is inedible and poisonus.
Also try the code below in IBNIZ.
sxsaxAr+waxBr-*
- Jonathan50
- Scratcher
1000+ posts
Stack Language
Of course Can you make games using Stack?
Not yet a Knight of the Mu Calculus.
- meowflash
- Scratcher
500+ posts
Stack Language
What kind of games? Text-based? Platformers? Shooters?Of course Can you make games using Stack?
More Stuff|My Bandcamp
My DeviantArt|Intro Voting For December 2015 August 10th 2016
Check out my Github, too!
Kumquats, this signature is inedible and poisonus.
Also try the code below in IBNIZ.
sxsaxAr+waxBr-*
- Jonathan50
- Scratcher
1000+ posts
Stack Language
Probably all of them.What kind of games? Text-based? Platformers? Shooters?Of course Can you make games using Stack?
Not yet a Knight of the Mu Calculus.
- meowflash
- Scratcher
500+ posts
Stack Language
Oh yeah! Maybe I can make a Text-based Platformer Shooter!Probably all of them.What kind of games? Text-based? Platformers? Shooters?Of course Can you make games using Stack?
More Stuff|My Bandcamp
My DeviantArt|Intro Voting For December 2015 August 10th 2016
Check out my Github, too!
Kumquats, this signature is inedible and poisonus.
Also try the code below in IBNIZ.
sxsaxAr+waxBr-*
- BookOwl
- Scratcher
1000+ posts
Stack Language
Thanks for the input guys! Here is my plan for stack:
- Make sure that there are no bugs.
- Create some GOOD documentation.
- Create a module system.
- Add a way to create extension modules in Python.
- Port to Python 2 (very low priority)
who needs signatures
- Jonathan50
- Scratcher
1000+ posts
Stack Language
I think porting to Python 2 is rather simple, just like replacing input() with raw_input() and removing encoding/decoding for strings and removing non-ASCII characters from strings. Thanks for the input guys! Here is my plan for stack:I could really use some help with this, especially with designing new features and creating documentation (I am not a very good writer ), so if anyone wants to help, please say so.
- Make sure that there are no bugs.
- Create some GOOD documentation.
- Create a module system.
- Add a way to create extension modules in Python.
- Port to Python 2 (very low priority)
Not yet a Knight of the Mu Calculus.
- BookOwl
- Scratcher
1000+ posts
Stack Language
UPDATE:
I have released a new update to Stack.
It includes two new ops, letterof and reverse, a bug fix, and a new example.
I have released a new update to Stack.
It includes two new ops, letterof and reverse, a bug fix, and a new example.
who needs signatures
- liam48D
- Scratcher
1000+ posts
Stack Language
I just started experimenting with this for fun, because I've always used procedural languages before. Pretty cool!
Here's my first project:
One-line:
Pretty cool stuff.
Here's my first project:
'You inputted: '
'Enter a string: ' input
concat
One-line:
'You inputted: ' 'Enter a string: ' input concat print
Pretty cool stuff.
202e-202e-202e-202e-202e UNI-CODE~~~~~