Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Blacklight

Blacklight - Programming language

< >

Blacklight is a programming language created in 2015 by Anthony M. Cook.

#1575on PLDB 8Years Old 59Users
0Books 0Papers

blacklight is a general-pupose multithreading concatenative stack-based programming language with first-class queues and objects with delegation.


Example from the web:
newq newq ;; create send and receive queues [ [ deq ;; will block if the queue is empty n-to-cv rot swap enq ;; convert number into a cv (string) and send back swap ;; reorder queues so we can loop without confusion ] loop ;; using loop since it goes forever ] work ;; start new thread and swap the queues swap ;; bring send queue to top 1 enq 2 enq 3 enq 4 enq ;; send some numbers to be converted 0 [ 1 add ] [ 1000 eq ] until drop ;; give the main thread busywork swap q-to-v ;; get contents of receive Q as V print ;; display contents of V
taf.html 路 blacklight.html 路 jiyu.html

View source

- Build the next great programming language Search v2023 Day 205 Docs Acknowledgements Traffic Traffic Today Mirrors GitHub feedback@pldb.com