Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

abs

< >

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

Source code:
git clone https://github.com/abs-lang/abs
#901on PLDB 6Years Old

Home of the ABS programming language: the joy of shell scripting.


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

View source

- Build the next great programming language About Acknowledgements Extensions Day 625 feedback@pldb.io