Here is a #Modula2 version:
https://rosettacode.org/wiki/Xiaolin_Wu%27s_line_algorithm#Modula-2
#RosettaCode #GraphicsProgramming #graphics #math #evolute #parabola
#modula2 #rosettacode #graphicsprogramming #graphics #math #evolute #parabola
An urge to code something in Modula-2 = a sign that the nostalgia is hitting a little hard tonight. No going back to that, but... wow, some crazy & good times to look back on.
#Modula2 #nerdy #geeky #programming #coding #codingwhencodingwasntcool #nostalgia #retrocomputing
#modula2 #nerdy #geeky #programming #coding #codingwhencodingwasntcool #nostalgia #retrocomputing
Niklaus Wirth's lesser known programming language still kicking around https://www.theregister.com/2022/12/16/gcc_13_will_support_modula2 #modula2
RT @phoronix@twitter.com
#Modula2 Language Frontend Merged Into @gnutools@twitter.com #GCC 13
-- 541k lines merged today, a day after the Rust front-end was added.
#Modula2 Language Frontend Merged Into @gnutools #GCC 13
-- 541k lines merged today, a day after the Rust front-end was added.
https://www.phoronix.com/news/Module-2-GCC-Merged
Original tweet : https://twitter.com/phoronix/status/1603134718878568449
#Modula2 Language Frontend Patches Ready For Merging Into #GCC 13
https://www.phoronix.com/news/GCC-Modula-2-Ready
Original tweet : https://twitter.com/phoronix/status/1600207496836063233
@alexandru - Ok, I'll bite. #programming languages I used professionally:
- #basic (various flavours)
- #modula2
- #csh
- #sh
- #perl
- #clang
- #java
- #cpp
- #tcltk
- #lisp
- #fortran
- #javascript
- #python
Also played around with #functional languages and #prolog , but not professionally.
Of these, my favourite is #tcltk because https://colin-macleod.blogspot.com/2020/10/why-im-tcl-ish.html .
#prolog #functional #python #javascript #fortran #lisp #tcltk #cpp #java #clang #perl #sh #csh #modula2 #basic #programming
CARDINAL is a really, really, REALLY bad name for numbers >= 0 that are used mostly AS ORDINALS.
I’m sorry, Prof. Wirth, but it’s a terrible name.
I contributed Modula-2 for the Sutherland-Hodgman Task:
Sutherland-Hodgman polygon clipping - Rosetta Code https://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping#Modula-2
Modula-2 libraries are a mess. I tried using PIM-4 but ended up using ISO, which is the least messy. It’s just a messed up language, despite the promise it had.
#computergraphics #modula2 #rosettacode
Looking through this collection, it looks like you can use at least the following programming languages to write programs in #DOS :
#C #rexx #prolog #asm #ada #basic (several BASIC dialects, some compiled even) #forth #Cpp #pascal #modula2 #lisp #smalltalk #fortran #cobol #logo #perl #python
#python #perl #logo #cobol #fortran #smalltalk #lisp #modula2 #pascal #cpp #forth #basic #ada #asm #prolog #rexx #c #dos
@amiloradovsky I find #Ada is actually a very nice language. Very similar to #Modula2 from Wirth to start with but more powerful. I find it actually quite approachable and not difficult. It is very structured, which might be why some people find it difficult to start as you cannot wildly type away but have to do it in the structured #Ada way. I believe it helps you organise your problem in your head before you start typing.