Get the latest tech news

Cognate: Readable and concise concatenative programming


Learn Cognate A brief introduction to the language Install First install CognaC the Cognate Compiler from here using the provided instructions. Currently CognaC will run on recent Linux or Mac systems.

To compile into an optimized executable (this takes longer and worsens error messages) you can use the -release flag. If the user calls Times with a non-integer parameter it will loop forever - that won't do at all! While boxes may not seem as ergonomic as mutation in other languages, they are both more flexible than mutable variables and more predictable than implicit references.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Cognate

Cognate