Aceto code examples. Pull requests welcome!
- collatz.act: Takes a number and returns the amount of steps it takes to reach one (Collatz conjecture)
- collatz2.act: Alternative (hand-crafted) implementation of the Collatz conjecture from (http://github.com/daherb/collatz)
- box.act: Takes a character and prints a 3x3 box consisting of it
- raise.act: Raises a number to its own power, without using exponentiation builtins
- shuffleinfinite.act: Shuffles an infinite stream of lines
- unchecked.act: Simplifies a certain expression
- zeno.act: Infinitely prints Zeno's Dichotomy paradox
- bethefirstone.act: Given a boolean list, turn off all true values after the first one
- accusum.act: Calculate a sum of an arbitrary amount of parts
- allyourbase.act: Print "All your base are belong to us"
- quine.act: Quine
- dollar.act: Identify "dollar words"
- easter.act: Print an easter egg given a character.
- helloworld.act: Print "Hello World!" without using any literals
- gauss_sum.act: Calculate the Gauss sum up to a given number
- manual_mult.act: Multiply two numbers without using multiplication
- oddeven.act: Print 1 for odd numbers, 0 for even ones
- numlen.act: Print the number of digits in the absolute value of a given integer.
- length-quine.act: Print something of the same length the code has
- infinrand.act Prints an infinite sequence of random-ish, non-repeating numbers
- semihash-iterpreter.act An interpreter for the language ;#
- semihash-iterpreter.act A transpiler for the language ;#
- commamiddle.act Who has a comma for a middle name?
- different-string.act Same length, different string
- interleave.act Interleave numbers from 1 to n, with the same numbers reversed
- randomize-scalars.act Randomize the scalars of an array
- be-the-first-one.act Be the First 1 (leave only the first Truthy)
- print-invisible.act Print invisible text
- printables.act Print the missing characters
- unreliable-gun.act Unreliable gun
- fizzbuzz1byte.act A FizzBuzzoid with only 1. Byte. Per. Line.
- alphadia.act Print the alphabet diagonally
- multistring.act "Multiply" two strings
- haskell.act Sugar Free Syntax
- undorange.act Undo a range
- password.act Read a password
- makesquare.act Square and Square
- divisiblestrings.act Divisible Strings
- fib.act: Print the nth Fibonacci number