Groups
Groups

In Ring 1.25 (GitHub) - RingVM_RingoLists() function

31 views
Skip to first unread message

Mahmoud Fayed

unread,
Dec 19, 2025, 2:29:53 AM (3 days ago) Dec 19
to The Ring Programming Language
Hello

This is one of the new features provided by Ring 1.25 (under development)

This function processes a Ring Object File (*.ringo) and returns its contents as Ring lists.

The function’s output is a list containing five sublists:

  • List of files

  • List of functions

  • List of classes

  • List of packages

  • List of bytecode instructions

Example:

C_LINESIZE = 40 cFile = read("pwct.ringo") aList = ringvm_ringolists(cFile) ? copy("=",C_LINESIZE) ? "List Size: " + len(aList) ? copy("=",C_LINESIZE) ? "Files count: " + len(aList[1]) ? "Functions count: " + len(aList[2]) ? "Classes count: " + len(aList[3]) ? "Packages count: " + len(aList[4]) ? "Instructions count: " + len(aList[5]) ? copy("=",C_LINESIZE)

Output:

======================================== List Size: 5 ======================================== Files count: 1352 Functions count: 306 Classes count: 1434 Packages count: 2 Instructions count: 782280 ========================================
This feature could be used in applications that analysis Ring programs like visualization tools. Also, it could be used by tools that convert Ring programs to another representation.

Greetings,
Mahmoud

Mansour Ayouni

unread,
Dec 19, 2025, 7:33:20 AM (2 days ago) Dec 19
to Mahmoud Fayed, The Ring Programming Language
Hello Mahmoud,

Yet IDE tools can make hot-analysis of Ring programs when they are deployed in production, compare them to the static code of the Ring project, and do whatever actions necessary to update changes without user interruptions...

Imagine what it takes to do this in other languages...

Your vision for ringo file format becomes clear now : it's one of the innovative pillars and key differenciators of the language!

ALL THE BEST,
Mansour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/6764922c-318e-489b-a621-7380afec4e0en%40googlegroups.com.

Mahmoud Fayed

unread,
Dec 19, 2025, 7:39:07 AM (2 days ago) Dec 19
to The Ring Programming Language
Hello Mansour

Thanks for your kind words :D

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages
Search
Clear search
Close search
Google apps
Main menu