Measures Concepts
GitHub icon

abs

abs - Programming language

< >

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

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

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

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout