RosettaGit

  • Tasks
  • Drafts
  • Languages
  • Tags

Contributing

  • Code on GitHub
  • Issues
  • Changelog

Special Pages

  • Similar Sites
  • Online Execution

true

Toka is a concatenative programming language with similarities to Forth. It has two accessible stacks for passing data, a dictionary which maps names to functions, an interpreter, a compiler (generating threaded code), a form of garbage collection, and various functions to aid in debugging and inspecting compiled code. Toka also has a set of optional libraries that extend the core language in many ways.

Toka is distributed under an open-source license.

Tasks

  • Address of a variable
  • Apply a callback to an array
  • Arithmetic/Integer
  • Associative array/Creation
  • Check that file exists
  • Command-line arguments
  • Comments
  • Conditional structures
  • Copy a string
  • Create a file
  • Create a two-dimensional array at runtime
  • Define a primitive data type
  • Delete a file
  • Determine if a string is numeric
  • Empty program
  • Enumerations
  • Execute a system command
  • Fork
  • Formatted numeric output
  • Function definition
  • Higher-order functions
  • Hostname
  • Increment a numerical string
  • Integer comparison
  • Introspection
  • Logical operations
  • Pointers and references
  • Regular expressions
  • Rename a file
  • Sleep
  • Sockets
  • Sort an integer array
  • Sorting algorithms/Bubble sort
  • String case
  • String length
  • Sum and product of an array
  • Variable size/Get
  • Walk a directory/Non-recursively
  • Window creation

Created by Adrian Sieber and contributors with Zola

Licensed under the GFDL-1.3-or-later