Category: TransGlot

  • Conclusions: Translating fp-filters from TypeScript to C# with AI Assistance

    1. AI Accelerates Porting, but Human Oversight Is Essential AI tools (GPT-4, GPT-5, Claude, Copilot, CodeRabbit) greatly speed up translation and refactoring, but human review is crucial for correctness, especially for edge cases and build issues. 2. Iterative Improvements Work Best Incremental changes—such as improving code coverage, refactoring namespaces, and enhancing documentation—yield better results than…

  • Adding Linq functions

    LINQ is a powerful feature in C#, and this post showcases its integration into filter tests. By adding LINQ-friendly overloads and corresponding BDD tests, the filters became more versatile and idiomatic for C# developers. I give the general instruction that, << for any function with 2 parameters, add a function that can be used in…

  • Converting from https://github.com/Oaxoa/fp-filters – generate

    History of how I ported https://github.com/Oaxoa/fp-filters to csharp So to  port from Javascript to CSharp  I followed those steps Clone the original project – easy Open in VSCode – easy Start discussing with GPT4.1 . Easy enough – see Whole discussion Verifying the results. This was the difficult part. So in the time span of…

  • TransCSharpGlot programming

    History of how I ported https://github.com/Oaxoa/fp-filters to csharp This is my first attempt to utilize AI to translate from a programming language to another . To be easy, I choose the npm package https://github.com/Oaxoa/fp-filters to be translated to C# nuget package . It could bring some benefits to C# programmer to replace var numbers =…