forGL creator: So WE can write the good code in Our choice of languages / Software Developer 20+ years / Computer Programming as Problem Solving Skill / Tool
@Observer_ofyou Video of forGL
Interpreter running with short time delay between steps, otherwise it would be too fast to read names.
Procedural calculations of Factorial numbers.
More info in forGL community :)
Here is a way to use Grok to create working examples of Factorial calculations* in different Human languages.
Yoruba language example is needed, @Grok please refer to other Grok chats posted here and make the definitions needed.
@unclebigbay143 "Expert" screen capture of forGL doing Factorial calculations given a few word definitions in the Dictionary.
This video was the English language Factorial, there is also a German Faktorial example.
(posted in forGL community)
https://t.co/JVudgRwnT1
@Observer_ofyou Video of forGL
Interpreter running with short time delay between steps, otherwise it would be too fast to read names.
Procedural calculations of Factorial numbers.
More info in forGL community :)
@sudoaptaj Playing with the new 2nd cmd line arg that lets us
Run a Verb (name of code to run along we with some input).
The other 1st cmd line arg is path/filename of the forGL Dictionary file where the definitions we want to run are located.
https://t.co/ipVjOMZfGK
Not that I know of.
I think it would be an example that should be done.
Anyone can look at the Grok chats in forGL community and then prompt for other languages (Irish, ... , other written languages).
I used Factorial as an example as it worked ok within limits of forGL Interpreter.
Feel free to try other examples.
May the Luck of the Irish be with ye :)
2 main uses of a Dictionary:
1) define words by using other words from the same language.
2) define word phrases with their same meaning in a different language.
2 is for travelers in a different country.
1 is for getting details correct.
In 1989 I started working at Amber Software. There I saw a page of German text and understood it was a computer program for the Interpreter to run.
Amber CS was a new version that adds a Server part for better performance.
I ended up fixing the Server and porting the C++ to: OS/2, NetWare, NT
And a little 32 bit ASM in the Math library.
Then Amber CS supported the western European languages along with English.
Now forGL supports any written language.
Interesting times, then and now :)
https://t.co/egCTYvbtmy
May be of interest.
Computer programming as definitions in a Dictionary file.
Proof of concept was Factorial calculations example in German.
Grok
used to compare German vs English examples and make new including: Vietnamese, Korean, Spanish, Japanese, ... , Egyptian Hieroglyphs and Cuneiform.
Marathi example was copied unchanged and ran ok.
More info + Grok chat links + running videos & humor in forGL community.
Perhaps we may collaborate on forGL improvements?
Have fun!
Randy Maxwell
Hi Tobiloba David, I am Randy Maxwell building an open source 4GL project that allows anyone to write computer programs.
Originally forGL has Factorial calculations examples in German and English.
Grok was used to generate other examples after simply comparing English vs German.
Factorial examples include: Marathi, Igbo, Vietnamese, Korean, Japanese, Mandarin, Spanish,... , Egyptian Hieroglyphs and Cuneiform.
Perhaps we can collaborate on forGL improvements ?
forGL is written in Haxe and uses UTF8 encoded text Dictionary files to define code (Verbs) and data (Nouns) as working computer programs.
Best Wishes to you and your Family.
P.S. your pinned post has you as 19 so Happy Birthday I guess. :)
Feedback starts with Features (wanted or change existing features).
WHY those particular changes are wanted tells about some specific Use Cases.
I think Software Quality
faces similar problems to
overall Software Development.
Complexity and many details to consider are built in.
Especially where Software meets real results running on various hardware.
Design by Contract is not just when thinking about Design.
Preconditions
Invariants
Postconditions
Apply to any interface.
So Test by Contract sometimes catches edge cases or logic.
I am applying these ideas and some others to improve forGL tool by refactoring plus adding more tests and a command line argument that allows a string to specify some values and then a Verb name to run.
forGL archive
https://t.co/egCTYvbtmy
https://t.co/rKV6X6wfwi
Haxe compiles to other programming languages including: Python, C++, Java, C#, Javascript and others.
Strict types mostly, dynamic types if needed.
I am using Haxe as implementation language of the forGL open source 4GL project.
https://t.co/egCTYvbtmy
Perhaps Haxe will work for you ?
Online design
Do first, ask for permission if needed.
forGL is mix of simplified natural language and computer programming.
Factorial examples in German and English.
Grok chats compared them and made new: Spanish, Vietnamese, Korean, Japanese, Mandarin,..., Egyptian Hieroglyphs and Cuneiform Factorial calculations examples.
Marathi example was copied unchanged into a Dictionary and ran numbers ok. Names using Marathi glyphs came out as hollow rectangles due to font used.
forGL community has Grok chats and other programming ideas.
And we know we can enter a Grok chat from someone else's post and add more prompts ?
In this case to do examples in other written languages ?
Could be fun :)
@realhisaacbrown Motion detection should have let Jarvis know you were looking at the screen and therefore a rendered 3D time lapse trend display or something was needed
OR
Background processes don't use the display.
OR
The overnight tests stopped ... badly .
Murphy was an Optimist.
IS forGL A MESS ?
It depends :)
From Outside forGL:
-- Lame Text UI
-- No built in Editor (only single line)
++ Any written language will work (UTF8, more tests needed)
++ Prefix, Infix, and Postfix notation allowed
++ 2 directions of Assignment: From Into
From Inside forGL:
-- Nested programming constructs likely not working. While loops, IF clauses. Work around is more small blocks of code (Verb definitions) instead of nesting.
More cleanup and apply Degign by Contract ideas to define and separate more clearly different steps to do.
Overall:
forGL Interpreter uses Haxe as implementation language.
Haxe compiles to other programming languages source files: Python, C++, C#, Java, Javascript among others.
To run forGL
Get a Dictionary file
Get the Python build of forGL
from forGL archive
https://t.co/egCTYvbtmy
Feedback after use would be very much appreciated :)
Have fun !
Happy new month !
@unclebigbay143 Computer Science or Software Engineering did not exist as college degree programs then.
We used computers as tools to bend to our will.
Back then the Hardware available was limited compared to now.
BASIC & Fortran & COBOL was mostly it :)
I Read,
therefore I Code . . .
Read the code.
Read the docs.
Code wiser.
Run the code.
Run wiser.
Debug defects.
Debug wiser.
Hierarchy of wise details.
Software survives reality.
3D thinking, over time.
Currently 1.5D with forGL text UI
https://t.co/egCTYvbtmy
Or see video in forGL community and posts about forGL included Grok chats.