Ghaith Hachem

Results 71 comments of Ghaith Hachem

I was playing around with codegen yesterday to try and move to the newer inkwell version and realized this would be a requirement. With the current inkwell version all builder...

> I'm in favor of removing / not using `thiserror`, the `Diagnostic` enum should be sufficient I think? Not with my refactor of the diagnostics =) , but I don't...

> I was actually trying to find the section of IEC 61131-3 that requires this syntax, but I can't seem to find it. I found code examples in the standard...

I cannot find RTC referenced in the standard, what section is it in? Edit: Just checked some docu and it seems to come from Codesys, but I also found other...

References: [Bekhoff](https://infosys.beckhoff.com/english.php?content=../content/1033/tcplclib_tc2_utilities/35054731.html) [Schneider](https://product-help.schneider-electric.com/Machine%20Expert/V1.1/en/standard/topics/rtc.htm) [Logicals (neuron automation)](https://help.logicals.com/lco3docu/latest/user-documentation/en/referenzdokumentation/systembausteine-fuer-die-anwendung/iec-bausteine-fuer-die-anwendung/timerenh-funktionsbausteine/rtc-baustein)

> yea, yu're right, is not in the german Norm but i found it in the international Norm Just looked it up, it's in the old norm (second editon) but...

Further tests: I tried to compile the object file as pic `plc seg.st -o seg.o --linker=clang -c --pic` and then compile that file back into a normal application: `plc seg.o...

maybe we just allow it in general. I like the rust style where the last comma can be ignored

So the decision to still compare types even if the norm disallows it is that we don't want to be a strict standard compliant compiler, we saw that C for...

We're targeting both the IEC standard and Codesys compatibility, but we would also like to have the flexibility in the compiler to diverge from that. For example we think implicit...