Viewing profile — watergatorman
watergatorman
HN member- Joined
- Fri, Dec 21, 2018, 9:17 PM UTC
- HN karma
- 5
- Public activity
- 35 items
- HN profile
- View on Hacker News ↗
About watergatorman
No profile information was provided.
Recent public activity
-
comment
Comment #22867344
Some random thoughts: I appreciate the original simplicity of K & R, "The C Programming Language", 2nd Edition, and the relatively simple semantics of ANSI C89/ISO C90 compared to …
-
comment
Comment #21558137
I have compared both Modula-2 and Oberon-2 to Go, but have not compared Active Oberon to Go. This was for purposes of creating a top-down, predictive, recursive descent parser for …
-
comment
Comment #21436221
IMHO, Oberon-2 WithStmt has much cleaner syntax than Go TypeSwitchStmt. WithStmt is easier to parse, more general and it doesn't need the Primary "." "(" "type" ")" at the beginnin…
-
comment
Comment #20493777
Try this, it is highly recommended: "C Programming: A Modern Approach," 2nd Edition by K. N. King is selling for 111 USD, covering C89/C99 but the First Edition, covering C89 is on…
-
comment
Comment #20463358
You possibly can use command-line redirection but whether OBNC can read directly from console output, I am not sure.
-
comment
Comment #20463214
If I use module Out to write to STDOUT, is there a way for OBNC Oberon to Read the contents in that console window, so it can be treated as input.
-
comment
Comment #20452838
You don't, at least if the syntax/semantics is as complex as Python! Recommendation: Find a subset grammar for Python, by doing a search on computer science classes on university s…
-
comment
Comment #20416715
Yes, it displays correctly in HN. Now I can submit some content that best uses UpArrow for synthesized attribute in AG. Thank you HN for supporting Unicode!
-
story
Test of HN to See If This Displays Unicode 1F801 (UpArrow)
This is supposed to be "Upwards Arrow with small triangle arrowhead: 🠁 It enters ok, lets see if it HN allows this Unicode character.
-
comment
Comment #20311081
Interesting article. There is both left and right recursion in the definition of , but this EBNF (Wirth notation) uses iteration only: number = digit { digit } [ "." digit { digit …
-
comment
Comment #19941328
Josh Lospinoso, the author of this blog, has now corrected this to read "pointer to const int" C declaration syntax confounds even the experts. I highly recommend this article to a…
-
comment
Comment #19935185
"... const int* x_ptr_3 = &x; // (3) ... Finally, we see the preferred approach, which is taking a const pointer (3)" Not a const pointer, but a pointer to const int.
-
comment
Comment #19916557
Rust popular? Tiobe language rankings for May 2019: Rust is ranked 34th at 0.335%, below Lisp and Prolog. Go is ranked 19th at 1.114%. C is ranked 2nd at 14.233% Rust does not have…
-
comment
Comment #19916551
C++ is a huge and complex language compared to C. [Compared size of the standard reference document for each.] C++ is complex to parse. Clang and Gcc use back-tracking to parse C++…
-
comment
Comment #19916254
Dijkstra's timeless advice. Also recommend: "On the Design of Programming Languages" N. Wirth CS-TR-73-403 "Hints on programming language design" C.A.R. Hoare "The Essence of Progr…
-
comment
Comment #19901411
Interview is dated March 13, 2018: Niklaus Wirth 1984 ACM Turing Award Recipient Interviewed by Elina Trichina March 13, 2018 Federal Institute of Technology (ETH) Zurich, Switzerl…
-
comment
Comment #19871963
Doesn't say what tool was used to do the syntax highlighting colorization. Or was it done by hand?
-
comment
Comment #19848632
A limited comparison of C, C++, Go, Rust: Go and C seem to have a large number of available software tools. Based on the "size" of the reference documentation alone, C and Go appea…
-
comment
Comment #19536315
Assume ASCII characters: ORD('a') - ORD ('A') = 32 IF ('A' <= ch) & (ch <= 'Z') THEN ch := CHR(ORD(ch) + 32) END
-
comment
Comment #19358563
You need to look at TUIs (Text User Interfaces).
-
comment
Comment #19351191
Answering my own question, Geany has "Sending text through custom commands" and ability to add custom commands via "Send Selection to->Set Custom Commands" But it looks like this j…
-
comment
Comment #19350852
I generally agree with Lucas' sentiments re GUIs and in his other article "In Praise of Plain Text." But I currently select portions of text with a mouse by highlighting it, and th…
-
comment
Comment #19075865
I am not taking sides, because today's Ford Co is not saddled with Henry Ford's controversies, and both MIT and Ford are large organizations. I don't know who is right, a jury migh…
-
comment
Comment #19051402
I found a LALR grammar for Rust on GitHub, compatible with Bison. But it does not closely track the published Rust Grammar nor syntax rules in the Rust Reference. (See Rust-lang DO…
-
comment
Comment #19051215
I looked at the Rust site and their published grammar. It is VERY incomplete, missing entire productions. I cannot determine if the syntax of Rust is "better" than that of C. At le…