RosettaGit

  • Tasks
  • Drafts
  • Languages

Contributing

  • Code on GitHub
  • Issues
  • Changelog

Special Pages

  • Similar Sites
  • Online Execution

Potion

Potion is a small, fast, object and mixin-orientated, high-level, cross-platform, dynamic functional programming language under 10k sloc, with a stack-based syntax. Message passing as in Smalltalk, an object system as in Io and the vm based on Lua. The JIT is simplier and new. The parser generator is based on peg/leg.

See also

  • Potion repo
  • perl11.org/p2/ is based on potion

Tasks

  • 100 doors
  • 24 game
  • A+B
  • Ackermann function
  • Almost prime
  • Arithmetic-geometric mean
  • Array length
  • Associative array/Creation
  • Associative array/Iteration
  • Digital root
  • Execute Brainfuck
  • Fibonacci sequence
  • FizzBuzz
  • Greatest subsequential sum
  • Happy numbers
  • Hello world!
  • Hello world/Text
  • Horner's rule for polynomial evaluation
  • Palindrome detection
  • Pascal's triangle
  • S-Expressions
  • SEDOLs
  • Sort an integer array
  • String case
  • String length
  • Sum of a series
  • Topswops

Created by Adrian Sieber and contributors with Zola

Licensed under the GFDL-1.3-or-later