tonybaloney / CSnakes

https://tonybaloney.github.io/CSnakes/
MIT License
291 stars 21 forks source link

Immortalize -1, 0 and 1 #163

Closed tonybaloney closed 2 weeks ago

tonybaloney commented 2 months ago

The numbers -5 through 200 and something are immortal in Python.

We should immortalise -1, 0 and 1. See the True and False implementation then update the .From(int) and .From(long) functions.

tonybaloney commented 2 months ago

This is a reference implementation, but it's causing issues on macOS https://github.com/tonybaloney/CSnakes/pull/159/commits/165d7b0fe70e66008ad18dd125c36014270026b0