Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

abs

abs - Programming language

< >

abs is a programming language created in 2018 by Alessandro Nadalin.

#1218on PLDB 5Years Old 562Users
0Books 0Papers

ABS is a programming language that works best when you're scripting on your terminal. It tries to combine the elegance of languages such as Python, or Ruby with the convenience of Bash.


Example from the web:
r = $(curl "http://data.nba.net/prod/v1/20170201/0021600732_boxscore.json" -H 'DNT: 1' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: en' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36' -H 'Accept: */*' -H 'Referer: http://stats.nba.com/' -H 'Connection: keep-alive' --compressed); if !r.ok { echo("Could not fetch game data. Bummer!") exit(1) } doc = r.json() arena = doc.basicGameData.arena.name city = doc.basicGameData.arena.city echo("The game was played at the %s in %s", arena, city) highlight = doc.basicGameData.nugget.text if highlight.len() { echo("The press said: \"%s\"", highlight) } # The game was played at the TD Garden in Boston # The press said: "Thomas scores 19 of 44 points in 4th quarter"

HackerNews discussions of abs

title date score comments
The ABS programming language 12/25/2018 6 3
ren-notation.html 路 abs.html 路 structured-text.html

View source

- Build the next great programming language Search Day 214 About Blog Acknowledgements Traffic Traffic Today GitHub feedback@pldb.com