Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Z-flat

< >

Z-flat is a programming language created in 2021 by Adam Hutchings.

#2197on PLDB 3Years Old
Download source code:
git clone https://github.com/adamhutchings/zflat
Source Code

Z-flat is a compiled, statically-typed programming language. Its design goals are intuitive syntax, type-safety, and easy library management.


Example from the web:
~/ factorial /~ ~ recursive implementation ~ factorial_r(x: int): int { if (x < 2) { return 1; } else { return x * factorial_r(x - 1); } } ~ iterative implementation ~ factorial_i(x: int): int { ret: int = 1; loop(x): i: int { ret *= (i + 1); } return ret; }

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0