https://github.com/spikehd/ihatesemicolons
Writing code in semicolon-requiring languages... without semicolons
https://github.com/spikehd/ihatesemicolons
Last synced: about 2 months ago
JSON representation
Writing code in semicolon-requiring languages... without semicolons
- Host: GitHub
- URL: https://github.com/spikehd/ihatesemicolons
- Owner: SpikeHD
- License: mit
- Created: 2023-12-12T23:07:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T00:49:00.000Z (over 2 years ago)
- Last Synced: 2025-01-17T22:44:40.348Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IHateSemicolons
Stretching different languages to some weird limits by not using semicolons. At all.
# How does it work?
Most (if not, all) of these examples take advantage of the fact that, in most languages, all kinds of code can be evaluated inside of `if`, `while`, `for`, etc. This means that, in theory, a lot of these languages with so-called "strict semicolon requirements" are actually just lying to you. You can treat every language like JavaScript if you try hard enough.
# Contributions
Know how to bend a language to your will? Feel free to make a PR!