Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Callisto
  • Cat
  • Cognate
  • colorForth
  • Concata
  • CoSy
  • Deque
  • DSSP
  • dt
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Fiveth
  • Forth
  • Fourth
  • Freelang
  • Gershwin
  • hex
  • iNet
  • Joy
  • Joy of Postfix App
  • kcats
  • Kitten
  • lang5
  • Listack
  • LSE64
  • Lviv
  • Meow5
  • min
  • Mirth
  • mjoy
  • Mlatu
  • Ode
  • OForth
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Prowl
  • Quest32
  • Quackery
  • r3
  • Raven
  • Retro
  • RPL
  • SPL
  • Staapl
  • Stabel
  • Tal
  • Titan
  • Trith
  • Uiua
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Concatenative topics

  • Compilers
  • Interpreters
  • Type systems
  • Object systems
  • Quotations
  • Variables
  • Garbage collection
  • Example programs

Concatenative meta

  • People
  • Communities

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Meta

  • Search
  • Farkup wiki format
  • Etiquette
  • Sandbox

Concata

Concata is a stack-based concatenative functional programming language inspired by Elixir and Forth. It is interpreted and runs on a VM, aiming to offer a readable and user-friendly stack-based programming experience.

Concata is still a work-in-progress, but hopefully will be released soon at https://github.com/lordoftrident/concata.

  1. Examples
  2. # Hello world

```

"Hello, world!n" Stdout Write

```

  1. # Hello world (using the standard library)

```

uses io

"Hello, world!" IO.PrintLn

```

  1. # Counting to 10

```

1 10 ... for n =>

[n] "vn" Fmt Stdout Write

```

  1. # Factorial

```

fun Fact 0 => 1

fun Fact n[Uint] => n 1 - Fact n

[5 Fact] "vn" Fmt Stdout Write

```

  1. # Factorial (using the standard library)

```

uses [io range]

fun Fact n[Uint] => 1 n ... 1 // Range.Product

5 Fact IO.PrintLn

```

This revision created on Fri, 12 Jul 2024 20:34:28 by lordoftrident (Add a Concata page)

Latest Revisions Edit

All content is © 2008-2024 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.