Hacker News new | past | comments | ask | show | jobs | submit | dnesteruk's comments login

Check out my screencast on Cling (which is CINT's successor): http://www.youtube.com/watch?v=Lbi7MLS03Yc


Yes indeed, thanks for pointing this out.


Doesn't the GPL license generally ruin being able to use this in a commercial product by having to provide source code and affecting derivative works, too?


Looking at the HTML output, I'm not sure this consitutes proper literal programming due to the amounts of 'contextual noise' that the processor generates. I think the goal is to have the program read more or less like a book, and this...

{Print "hello world" 2} ≡

printf("Hello world"); This code is used in section 1.

...is not exactly it. It feels more like program-in-program Matrixy thing than a document to be read.


The output is basically designed to look like the output of Knuth and Levy's CWEB tool. Maybe a better example to look at on the "try it" page is the wc.lit example, which makes a word count program. It's based on Knuth and Levy's wc.w tutorial example, and gives a similar output.

Of course, there are advantages of Literate's output compared with CWEB's; it's more flexible in that you can embed arbitrary HTML in the output, so you can easily put images into your explanations, and you can put as many code blocks and text blocks as you like in each paragraph.


Yes, teaching VHDL/FPGA.


Is your kid a college student? I didn't run into this stuff until university.


That's rather advanced. What hardware are you programming with the VHDL?



I tried using F# (FsTest, specifically) for testing. It's great to be able to write verbose test names with double-backquote syntax, that way your test cases read in English instead of this_ugly_underscore_based_sentences.


Source code available for rendering the images?


Well there's no specific support for things like CUDA, but C++ support works for the most part. Not for CUDA's triple-angled-chevrons (yet), but neither does Visual Studio itself :)


Actually, this isn't the day and age where native code IDE can be presented to be advantageous. I think what's sensible is to assume that no thick-client IDE is sufficient for arbitrarily sized projects.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: