← Back to context

Comment by baq

1 month ago

Go is basically Pascal with curly braces anyway. Wonder if a Pascal to Go transpiler could work here...

Delphi/FP Component Pascal has a well-developed object model that is more expressive than Go in general (inheritance, virtual methods including virtual static methods etc), so it's not a 1:1 mapping. But all of these still have a straightforward mapping to Go, even if the output wouldn't be idiomatic, so it should be possible to transpile.