HeartForth

From Esolang
Jump to navigation Jump to search

HeartForth is a language released on Valentine's Day (February 14) of 2015 by User:NeilK. It is an Emoji stack language, which source-translates to a JavaScript implementation of Forth.

Examples

In standard Forth:

 : factorial 0 swap begin dup 1 - dup  1 = until begin * over 0 = until swap drop ;
 5 factorial .
 >> 120 

In HeartForth:

 >> 120

Advantages

  • Extremely compact.
  • Clean visual separation between program and data.
  • Whitespace agnostic.
  • Fully internationalized.

Disadvantages

  • None.

External resources