The new version of an embeddable ISO Prolog for Go, ichiban/[email protected] is out! The API hasn't changed. It just got faster and safer! #prolog#go#golang
https://t.co/1HIRTx852C
If the next character is either a layout char (whitespace) or single line comment, it's an end token. So the Prolog processor knows it's `X = 3.14.` #prolog
In Prolog, terms (statements) are separated by periods yet you can write a float like `3.14`. So how does a Prolog interpreter know it's `X = 3.14.` not `X = 3.` and `14.`? 🧵 #prolog#programming#language#syntax
When a Prolog interpreter sees `3.`- a period following a sequence of decimal digit chars (0-9), it peeks the next character. If the next character is also a decimal digit char, then it's a float number token. #prolog
I think the net effect of businesses offering AI products in their current incarnation will mainly come in the form of reduced margins. Most value will accrue to the users and it will be tough for a while to make money. https://t.co/Ka8Xh85lqs