JulianKemmerer / PipelineC

A C-like hardware description language (HDL) adding high level synthesis(HLS)-like automatic pipelining as a language construct/compiler feature.
https://github.com/JulianKemmerer/PipelineC/wiki
GNU General Public License v3.0
607 stars 50 forks source link

simplified get_type_from_list #94

Closed ghost closed 2 years ago

ghost commented 2 years ago

This is a classic use of list comprehensions, I believe it retains the clarity

JulianKemmerer commented 2 years ago

Excellent - there is that nice concise python syntax everyone loves :)

Not my shitty python that has gotten way out of hand haha

Thanks eh!