Live data from Hacker News

Show HN: Bic – a C interpreter and API explorer

github.com

11–20 of 28 posts

Re: Show HN: Bic – a C interpreter and API explorer

#12
post #2

Reminds me of CERN’s ROOT which has C/C++ interpreter https://root.cern.ch/

One of the biggest problem with these repl for complied languages is that they panic as soon as you rerun a command. `cling` integrates with Jupyter notebook too but as soon as you rerun a declaration of a variable, everything collapse and you have to reset the kernel. Maybe I didn’t dig deep enough and there is a way around this but if not, this is quite painful to deal with and a deal breaker.

Re: Show HN: Bic – a C interpreter and API explorer

#15
post #14

It lacks the syntax highlight. They could have used tree-sitter[1] for parsing, then the online highlight would be easier to implement. [1] https://github.com/tree-sitter/tree-sitter

perhaps you meant to include https://github.com/tree-sitter/tree-sitter as reference.

Re: Show HN: Bic – a C interpreter and API explorer

#18
post #14

It lacks the syntax highlight. They could have used tree-sitter[1] for parsing, then the online highlight would be easier to implement. [1] https://github.com/tree-sitter/tree-sitter

Agreed, syntax highlighting would be great. I was thinking about something akin to fish's syntax highlighting and completion with the REPL.

I'll take a look at tree-sitter. If I get syntax highlighting for free then I'll take that!

Re: Show HN: Bic – a C interpreter and API explorer

#20
Interactive C environments were popular for a while. I have collected information on several at the Computer History Museum. I actually have even more stuff that I never got around to uploading.

You unfortunately need to make an account to see the pages. It was heavily attacked at one time and that was the admin's solution.

Interactive C Environments http://www.softwarepreservation.org/projects/interactive_c

Post reply on HN