• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Stack-based programming?

 
Marshal
Posts: 77279
371
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you know that you can program things which live on a stack?  Did you know you can pass instructions and have them put onto a stack, or taken off the stack? Did you know you can swap elements on the stack?  Or write a program to prove that 2 + 2 = 5? Stack‑based programming dates back to the 1960s, and we at CodeRanch are starting new fora about programming paradigms. Come and find the different ways you can program your code.
 
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
... and in order not to be too obscure about it: one example (probably the first one to become widely known) is the Forth programming language.
 
Campbell Ritchie
Marshal
Posts: 77279
371
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Forth a good example of a stack language. Chuck Moore developed it towards the end of the 1960s, and it is still is use nowadays.
reply
    Bookmark Topic Watch Topic
  • New Topic