now it’s better (than the commented version)
@{Antranig Vartanian ; antranigv@spyurk.am} 17.05.2017, 22:29:36
solving https://www.reddit.com/r/dailyprogrammer/comments/68oda5/20170501_challenge_313_easy_subset_sum/
#DailyProgrammer #Oberon #Oberon-2 #voc ##
#programming #screenshot
@{Antranig Vartanian ; antranigv@spyurk.am} 17.05.2017, 22:29:36
solving https://www.reddit.com/r/dailyprogrammer/comments/68oda5/20170501_challenge_313_easy_subset_sum/
#DailyProgrammer #Oberon #Oberon-2 #voc ##
i love to read threads like this
#oberon #oberon-2 #programming #programming_languages #history #discussion #usenet
IDDEE — Integrated development and documentation and execution environment.
Suggested by Templ for Oberon systems ported to other operating systems.
#oberon #oberon-2 #iddee #ide #templ #operating_systems #blackbox #programming
I took the 142 rules of the MISRA-C:2004 “Guidelines for the use of the C language in critical systems” and applied them to Oberon-07. I discovered that more than 70% of the rules are not required when programming in Oberon-07. They are either already enforced by the language or are not applicable.
Examples of MISRA rules that are not applicable to Oberon-07:
Rule 14.4: The goto statement shall not be used. (Oberon-07 does not have GOTO)
Rule 14.5: The continue statement shall not be used. (Oberon-07 does not have CONTINUE)
Examples of MISRA rules that are enforced by the design of Oberon-07:
Rule 14.7: A function shall have a single point of exit at the end of the function.
Rule 16.6: The number of arguments passed to a function shall match the number of parameters.
The remaining 30% of MISRA rules that also need to be checked when using Oberon-07 include:
Rule 2.4 (advisory): Sections of code should not be “commented out”.
Rule 20.4: Dynamic heap memory allocation shall not be used.
#programming #oberon-2 #oberon-07 #oberon #misra #safety #safe #guidelenies
This page refers to some technologies as “computer science fiction”. Among them to Oberon. This brings another meaning to Vishap oberon compiler. Oberon is like aliens, ghosts. And Vishaps.
#computer_science_fiction #fiction #cs #computer_science #vishap #aliens #ghosts #vishaps #dragon #dragons #compiler #oberon #oberon-2 #compilers #technologies
Lightweight parametric polymorphism for Oberon.
http://research.microsoft.com/en-us/um/people/cszypers/pub/jmlc97.pdf
#oberon #oberon-2 #polymorphism #programming #research #paper #oop #development #software
https://github.com/norayr/voc/commit/a3214b81549d7c1d4654c62af52514261ed08ed0
different modules can be now compiled into one elf at once (no separate linking command needed). for example, if M0 imports M1 then
voc -l M1.Mod -s M0.Mod -M
where -l is a global option (show line numbers, I don’t use it, I need only position, and do :goto in vim to get it)
-s means generate symbol file, we need it to compile M0, and check types throughout module boundaries
-M means generate main module and link it statically to libVishapOberon.
#voc #vishap-oberon #oberon #oberon-2 #compiler #linking #programming
I have published Vishap Oberon compiler
#vishap #voc #oberon #oberon-2 #compiler #ofront #pascal #modula-2 #fork #github #compilers #վիշապ #օբերոն #կոմպիլյատոր #պասկալ #մոդուլա֊2 #ծրագրավորում
how to interface call #Oberon code from #freepascal. http://norayr.arnet.am/weblog/?p=4470 #oo2c #fpc #oberon-2 #bindings