Passerine – extensible functional scripting language – v0.8.0 released

I'm excited to share an early preview of a novel programming language I've been developing for the past year or so. Passerine is an functional scripting language, blending the rapid iteration of languages like Python with the concise correctness of languages like Ocaml, Rust, and Scheme. If you'd like to learn more, read the Overview section of the README.

It's still a ways away from being fully complete, but this release marks the introduction of Passerine's macro system. Like the order of songbirds it was named after, Passerine sings to more than just one tune – this new hygenic macro system makes it easy to extend the language itself – allowing you to bend the langauge to your needs, rather than bending your needs to the language!

Here's a quick overview of Passerine:

Functions
Functions are defined with an arrow (->). They can close over their enclosing scope and be partially applied. Here's a function:

-- comment
add = a b -> a + b

Here are some function calls:

-- standard
fish apple banana
-- parens for grouping
outer (inner argument)
-- functions can be composed
data |> first |> second

A block is a group of expressions, evaluated one after another. It takes on the value of the last expression:

-- value of block is "Hello, Passerine!"
{
    hello = "Hello, "
    hello + "Passerine!"
}

Macros
Passerine has a hygienic macro system, which allows the language to be extended. Here's a simple (convoluted) example:

-- define a macro
syntax this 'swap that {
    tmp = this
    this = that
    that = tmp
}

tmp = "Banana!"
a = false
b = true

-- use the macro we defined
a swap b
-- tmp is still "Banana!"

There's a lot I didn't cover, like concurrency (fibers), error handling, pattern matching, etc. Be sure to check out the repo! Comments, thoughts, and suggestions are appreciated :)

This submission links to the GitHub Repo, but there's also a website if you'd like to look at that.

πŸ‘︎ 106
πŸ’¬︎
πŸ‘€︎ u/slightknack
πŸ“…︎ Dec 08 2020
🚨︎ report
The Atlantic royal flycatcher is a passerine bird in the family Tityridae. This large-billed flycatcher has a spectacular, but rarely seen, crest!
πŸ‘︎ 10k
πŸ“°︎ r/Awwducational
πŸ’¬︎
πŸ‘€︎ u/aditya123007
πŸ“…︎ Sep 21 2020
🚨︎ report
Passerine birds like the TΕ«Δ« have additional muscles giving them the ability to produce complex vocalisations. TΕ«Δ« songs also exhibits geographical, microgeographic, seasonal, sex and individual variation. v.redd.it/tjgckw0pd7361
πŸ‘︎ 168
πŸ“°︎ r/Awwducational
πŸ’¬︎
πŸ‘€︎ u/Pardusco
πŸ“…︎ Dec 04 2020
🚨︎ report
What particular species is this sparrow, does not look anything like the house sparrows, definitely it is of the passerellidae passerine, not passeridae. Location: NE US reddit.com/gallery/jyhxyj
πŸ‘︎ 7
πŸ“°︎ r/whatsthisbird
πŸ’¬︎
πŸ‘€︎ u/hoo_hoo_hoo_
πŸ“…︎ Nov 21 2020
🚨︎ report
r/passerine Lounge

A place for members of r/passerine to chat with each other

πŸ‘︎ 2
πŸ“°︎ r/passerine
πŸ’¬︎
πŸ‘€︎ u/hamzantal
πŸ“…︎ Dec 14 2020
🚨︎ report
Passerine Chords

Hey does anyone have the chords for Passerine? They're on Chordify but it doesn't seem to work.

πŸ‘︎ 9
πŸ“°︎ r/TheOhHellos
πŸ’¬︎
πŸ‘€︎ u/Toasty_tea
πŸ“…︎ Dec 05 2020
🚨︎ report
The Passerine. Just a proof of concept Duna gyrocopter reddit.com/gallery/kdyrmj
πŸ‘︎ 27
πŸ’¬︎
πŸ‘€︎ u/Asian_Juan
πŸ“…︎ Dec 16 2020
🚨︎ report
Passerine – extensible functional scripting language – v0.8.0 released /r/ProgrammingLanguages/c…
πŸ‘︎ 5
πŸ“°︎ r/lisp
πŸ’¬︎
πŸ‘€︎ u/alex-manool
πŸ“…︎ Dec 09 2020
🚨︎ report
Green Bee-Eater | Bordhoman | W.B. India | The bee-eaters are a group of near passerine birds in the family Meropidae, containing three genera and twenty-seven species. Most species are found in India, Africa and Asia, with a few in southern Europe, Australia, and New Guinea.
πŸ‘︎ 427
πŸ’¬︎
πŸ‘€︎ u/1aleynatilki
πŸ“…︎ Oct 27 2020
🚨︎ report
Red-headed Tit | Himalayas | The black-throated bushtit is a small passerine, around 10.5 cm long and weighing 4-9 g. There is considerable racial variation in the plumage, but all subspecies have a medium length tail (as opposed to the long tail of the related long-tailed tit) ... Read More ...
πŸ‘︎ 504
πŸ’¬︎
πŸ‘€︎ u/1aleynatilki
πŸ“…︎ Oct 04 2020
🚨︎ report
Jeremy Gara - new ltd vinyl release of his solo album "Passerine Finale" invada.co.uk/collections/…
πŸ‘︎ 4
πŸ“°︎ r/arcadefire
πŸ’¬︎
πŸ‘€︎ u/weinerdog70
πŸ“…︎ Dec 05 2020
🚨︎ report
The Guianan cock-of-the-rock is a species of cotinga, a passerine bird from South America. It is found in tropical rainforests, near its preferred habitat of rocky outcrops.
πŸ‘︎ 495
πŸ’¬︎
πŸ‘€︎ u/dangillmor7187
πŸ“…︎ Sep 27 2020
🚨︎ report
The bee-eaters are a group of near passerine birds in the family Meropidae, containing three genera and twenty-seven species. Most species are found in insurance fraud
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/eliteprephistory
πŸ“…︎ Oct 27 2020
🚨︎ report
Passerine – extensible functional scripting language – v0.8.0 released /r/ProgrammingLanguages/c…
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/alex-manool
πŸ“…︎ Dec 11 2020
🚨︎ report
Red-capped robin | The red-capped robin (Petroica goodenovii) is a small passerine bird native to Australia. Found in drier regions across much of the continent, it inhabits scrub and open woodland.
πŸ‘︎ 547
πŸ’¬︎
πŸ‘€︎ u/1aleynatilki
πŸ“…︎ Sep 25 2020
🚨︎ report
Arcade Fire drummer Jeremy Gara announces new solo album 'Passerine Finale' out September 11th nme.com/news/music/arcade…
πŸ‘︎ 687
πŸ“°︎ r/indieheads
πŸ’¬︎
πŸ‘€︎ u/sincerityisscxry
πŸ“…︎ Jul 09 2020
🚨︎ report
Winter is coming! Meet my resident robin. The European robin (Erithacus rubecula), known simply as the robin or robin redbreast in the British Isles, is a small insectivorous passerine bird. It is found across Europe, east to Western Siberia and south to North Africa. reddit.com/gallery/k59r9t
πŸ‘︎ 2
πŸ“°︎ r/360onHistory
πŸ’¬︎
πŸ‘€︎ u/Honeybadger-0-
πŸ“…︎ Dec 02 2020
🚨︎ report
Took this in Ohio back in April. Bird was gray/black small passerine with white wing bars. I took terrible pictures of it and don’t expect a fully confident ID, but I figured I might as well post it and see what people think it might be reddit.com/gallery/jwkdjq
πŸ‘︎ 5
πŸ“°︎ r/whatsthisbird
πŸ’¬︎
πŸ‘€︎ u/EdgarIsAPoe
πŸ“…︎ Nov 18 2020
🚨︎ report
Passerine bird with beak overgrowth youtube.com/watch?v=qwqWJ…
πŸ‘︎ 54
πŸ“°︎ r/natureismetal
πŸ’¬︎
πŸ‘€︎ u/AliNadeemMashups
πŸ“…︎ May 30 2020
🚨︎ report
The Thick-billed Raven, a corvid from the Horn of Africa that shares the title of the largest passerine bird with the Common Raven
πŸ‘︎ 486
πŸ’¬︎
πŸ‘€︎ u/Pardusco
πŸ“…︎ Jul 25 2020
🚨︎ report
The great tit (Parus major) is a passerine bird in the tit family Paridae. wikipedia.org/wiki/Great_…
πŸ‘︎ 4
πŸ“°︎ r/wikipedia
πŸ’¬︎
πŸ‘€︎ u/chairmanlmao114
πŸ“…︎ Nov 01 2020
🚨︎ report
Fly High (Original Mix), by Passerines passerinesuk.bandcamp.com…
πŸ‘︎ 3
πŸ“°︎ r/proghouse
πŸ’¬︎
πŸ‘€︎ u/passerinesuk
πŸ“…︎ Oct 26 2020
🚨︎ report
Have this Perky-Pet Cardinal feeder with sunflower seeds. What other feeder/mix should I introduce to attract smaller passerine birds? SE MI imgur.com/gallery/XWOF6qT
πŸ‘︎ 5
πŸ“°︎ r/birding
πŸ’¬︎
πŸ‘€︎ u/arcticrobot
πŸ“…︎ Aug 04 2020
🚨︎ report
The Thick-billed Raven, a corvid from the Horn of Africa that shares the title of the largest passerine bird with the Common Raven
πŸ‘︎ 89
πŸ“°︎ r/badassanimals
πŸ’¬︎
πŸ‘€︎ u/Pardusco
πŸ“…︎ Jul 25 2020
🚨︎ report
The Invisible Blade by Passerine
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Apr 09 2020
🚨︎ report
Tiger King, by me (Passerine)
πŸ‘︎ 101
πŸ“°︎ r/FantasyArt
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Apr 02 2020
🚨︎ report
Meet the Potoo: a 'near passerine bird' found in areas such as South America
πŸ‘︎ 228
πŸ“°︎ r/oddlyterrifying
πŸ’¬︎
πŸ‘€︎ u/active_volcano
πŸ“…︎ May 08 2020
🚨︎ report
"On the activities of primates and passerines", Simon StΓ₯lenhag, Digital, 2014
πŸ‘︎ 25k
πŸ“°︎ r/Art
πŸ’¬︎
πŸ‘€︎ u/AriSpaceExplorer
πŸ“…︎ Feb 22 2019
🚨︎ report
Tiger King by me (Passerine)
πŸ‘︎ 51
πŸ“°︎ r/pics
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Apr 02 2020
🚨︎ report
The feet on this grey catbird really fascinate me. Passerine feet are so versatile!
πŸ‘︎ 90
πŸ“°︎ r/birding
πŸ’¬︎
πŸ‘€︎ u/cmbaldwin
πŸ“…︎ May 26 2020
🚨︎ report
The Invisible Blade by Passerine [OC]
πŸ‘︎ 471
πŸ“°︎ r/Illustration
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Apr 09 2020
🚨︎ report
Passerine in Dakota County, Minnesota. Found in brush along edge of open grassland.
πŸ‘︎ 3
πŸ“°︎ r/whatbirdisthis
πŸ’¬︎
πŸ‘€︎ u/echomike888
πŸ“…︎ Aug 23 2020
🚨︎ report
What's this passerine in Phuket, Thailand? imgur.com/a/IxmUUC7
πŸ‘︎ 3
πŸ“°︎ r/whatsthisbird
πŸ’¬︎
πŸ‘€︎ u/Pinko_Eric
πŸ“…︎ Jun 08 2020
🚨︎ report
Ordeal by Passerine. Two skyfaring knights, known as ailerons, face off against an enemy squadron of mutants.
πŸ‘︎ 46
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Mar 15 2020
🚨︎ report
The Tiger King by me (Passerine)
πŸ‘︎ 187
πŸ“°︎ r/alternativeart
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Apr 02 2020
🚨︎ report
The feet on this grey catbird really fascinate me. Passerine feet are so versatile!
πŸ‘︎ 61
πŸ“°︎ r/birdpics
πŸ’¬︎
πŸ‘€︎ u/cmbaldwin
πŸ“…︎ May 26 2020
🚨︎ report
Propaganda by Passerine
πŸ‘︎ 38
πŸ“°︎ r/ImaginaryWizards
πŸ’¬︎
πŸ‘€︎ u/art_of_passerine
πŸ“…︎ Jun 16 2020
🚨︎ report
The pink robin (Petroica rodinogaster) is a small passerine bird native to southeastern Australia. It's sexually dimorphic: the male has a distinctive white crown and pink breast, grey-black upperparts, wings and tail. The belly is white. The female has grey-brown plumage
πŸ‘︎ 12k
πŸ“°︎ r/Awwducational
πŸ’¬︎
πŸ‘€︎ u/Mass1m01973
πŸ“…︎ Jun 28 2019
🚨︎ report
The Thick-billed Raven, a corvid from the Horn of Africa that shares the title of the largest passerine bird with the Common Raven
πŸ‘︎ 5
πŸ“°︎ r/ALLTHEBIRDS
πŸ’¬︎
πŸ‘€︎ u/End-O-Days
πŸ“…︎ Jul 25 2020
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.