From the site:

We have entered a world in which we need to do more with less. If you, like us, have frowned at the difficulty and inefficiency of creating software, and wondered if there is a better way, Meta is for you. It is a descendant of the acclaimed REBOL and Logo computer languages. Logo was designed in academia to teach programming in a simple yet powerful way. It is widely used in education and influenced many newer systems and languages. REBOL extended this concept to professional programming. It was invented by Carl Sassenrath, the chief software designer of the famous Amiga computer, the first consumer multimedia system. Meta takes the next step by combining this design with the virtues of the C programming language, which has been the standard for software interoperability and performance for half a century.

meta-lang-examples (GitHub)

Try online (“console”)

  • kakes@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    7 months ago

    For anyone curious, FizzBuzz:

    Meta [
    	Title:   {Fizz Buzz math "game"}
    	Author:  "Kaj de Vos"
    	Rights:  "Copyright (c) 2021,2022 Kaj de Vos"
    	License: {
    		PD/CC0
    		http://creativecommons.org/publicdomain/zero/1.0/
    	}
    	Notes: {
    		https://en.wikipedia.org/wiki/Fizz_buzz
    		https://wiki.c2.com/?FizzBuzzTest
    		https://www.rosettacode.org/wiki/FizzBuzz
    	}
    ]
    
    For counter 100 [                                   ; Count to 100
        Third?: unless modulo counter 3 [write "Fizz"]  ; Display "Fizz" every third count; remember whether we did
    
        Any [
            unless modulo counter 5 [write "Buzz"]      ; Display "Buzz" every fifth count
            third?                                      ; Remember earlier result
            write counter                               ; Display the number if not third or fifth
        ]
        Write " "                                       ; Separate the displayed items
    ]
    Write new-line                                      ; Return the text cursor to the start of the line