HolyC-for-Linux
HolyC-for-Linux copied to clipboard
Support print statements
Holy C supports print statements from bare string literals. There are probably a few other examples that I haven't tested (https://harrisontotty.github.io/p/a-lang-design-analysis-of-holyc).
HelloWorld.hc:
"God is Good"
This results in the following error:
Traceback (most recent call last):
File "/home/[redacted]/.local/lib/python3.8/site-packages/secularize/parser.py", line 154, in maybe_call
if self.input.peek().get('type') in ['string', 'num'] or \
AttributeError: 'NoneType' object has no attribute 'get'
Hey @just-recipe thanks for the issue! Feel free to submit PRs for anything really. Otherwise, this will give me something fun to do on the weekend 😎 I'll crack this repo back open later tonight to see if I can wrap my head around my garbage code again