Owez / jingo

A lightweight, high-level language designed for rapid prototyping
MIT License
9 stars 0 forks source link

Fix uglyness of current lexing #13

Closed Owez closed 4 years ago

Owez commented 4 years ago

Got a lot of strange borrowing stuff going on that could be simplified with better lookahead instead of chars.next() and stuff all the time, fixing weirdness of get_numlit_data, get_strlit_data and get_comment_data.

Owez commented 4 years ago

Completed for get_numlit_data in d090aaf1559f0d0db5954e0d0c9f9ee7befc236d, though it does still use chars.next to iterate

Owez commented 4 years ago

Fixed in bb78d1509a1ba8c42d21f63306326c96c680eb46