SaptakBhoumik / Peregrine

A blazing fast language for the blazing fast world(WIP)
https://peregrine-lang.github.io/
Mozilla Public License 2.0
1.46k stars 76 forks source link

Improved code readability. #91

Closed timbatt closed 3 years ago

timbatt commented 3 years ago

Mainly added spaces around logical comparisons and variable assignments.

Potential error prevented on line 71 in is_number function by changing TokenType.integer to TokenType.tk_integer

timbatt commented 3 years ago

Oops I didn't realize that the TokenTypes were renamed XD. In that case TokenType.tk_integer will actually cause errors. My bad.