GLFPE sample source for languages other than C/C++ 21 Mar 2018 GLF ------------------------------------------------------------------------ The GLF Programming environment embodies both working toolsets used by and samples of the life work of the author (GLF). The inclusion of sample source code for hundreds of C/C++ programs is intended to provide working examples of projects and useful (to the author) personal and acquired libraries. Since the author's intent is that other potential programmers might use the GLFPE to produce their own programs, the samples help show how one might go about it. The GLFPE was primarily intended to support C/C++ programming in an environment with access to a number of widely available open source libraries. The sample code contains a lot of the author's personally produced source code over a long programming career and hobby, as well as sample code derived from the distribution files for many included libraries to demonstrate the library capabilities. However, the GLFPE supports far more than C and C++. GLFPE includes samples of Fortran, COBOL, and Python source code ----------------------------------------------------------------- The GLFPE is based on free and open source tools, the main one being the GCC, the Gnu Compiler Collection. GCC includes support for languages other than C and C++. Almost as an afterthought it also supports variants of COBOL and Fortran, as well as Ada. In turn, the Linux environment is replete with other tools which tend to fall into most distributions by default: Perl, Tcl/Tk, and especially Python. Of these, Fortran and COBOL still have some relevance daling with OLD code whichfor some reason is still needed, and Python is an up-and-coming language of significant current importance and a wide following. Since the author has retained some examples of old Fortan code to which he was exposed in his career as a Mobile Source modeler at Metro Louisville APCD, he includes in the sample source collection some of the more important and technically intricate examples he retains. The Fortran examples derive from official modeling products released by EPA during the author's time on the job. The author provides examples and scripts to compile and run these using gfortan. The author has also retained his original hard copy 1969-71 COBOL project books, the original 132-column printouts of assignments, inputs, and outputs from his vocational schol days, and has undertaken to scan, OCR, edit, and adapt three of those projects into sample COBOL projects which are included to demonstrate Gnu COBOL. Because many people will be interested in Python, the author also included a sample "hello" program to demenstrate that it works. The author has very little personal experience with Python, so has nothing else to offer at this time. However, he acknowleges the imprtance and wide interest in Python, and made sure it was available within all platforms for the GLFPE. Brief history of programming languages the author has visited ------------------------------------------------------------- The author has always had some interest in other, alternative programming languages to those he used everyday. The first "programming language" the author learned was the instruction set of the Olivetti Underwood Programma 101, to which he was exposed in high school in 1968, and which sparked his interest in programming. That led to a 2-yr course in Data Processing at the new Prosser Vocational School, while still in high school. The author completed a variety of projects using COBOL compiled to run on an NCR Century 100 mainframe, and was required to punch all these programs into punch cards by means of an IBM 026 keypunch. Since then the author has seriously used or dabbled in: COBOL Fortran NEAT/3 (NCR macro assembler) CDC 6600 assembler TRS-80 Basic Z80 assembler Forth HP 9100B calculator instruction set HP-41CV calculator instruction set Commodore Basic 6510 assembler x86 machine code CBasic on CP/M Turbo Pascal Turbo Basic Turbo C Foxbase/DBase III Gnu C/C++ Ada SQL Java Javascript Processing (variant of C++) Atmel machine code Gnu COBOL Gnu Fortran Python The list above leaves out a few he investigated or tried out briefly in an academic setting. The author is something of a pack rat -- he doesn't throw anything away (much). As such he has accumulated many hard drives full of old programming work for which he feels nostalgic and he can't quite part with. He can't readily provide examples of ALL the languages to which he has dabbled, but the GLFPE sample source DOES include some limited examples.