Pierre Chalamet

@pchalamet.bsky.social

⚒️💉🧻🔧🗑️📏🚭🦄🌴🍺🚀🎸💾 Founder of @MagnusOpera.io Making @terrabuild.io

I'm really happy with current state of FScript: - F#/ML-style scripting focused on safe embedding: strong type inference, explicit host extensibility, and sandboxed execution. - Hindley–Milner inference with optional parameter annotations. github.com/MagnusOpera/...

GitHub - MagnusOpera/FScript: Functional language interpreter - F#/ML inspired

Functional language interpreter - F#/ML inspired. Contribute to MagnusOpera/FScript development by creating an account on GitHub.

github.com

Trend is to generate a compiler using LLM... So here is my contribution: FScript, an embeddable #fsharp lang inspired interpreter. Entirely developed with Codex, no shame 😃 Execution is sandboxed and extensible, also support structural record annotation (think Typescript). github.com/MagnusOpera/...

GitHub - MagnusOpera/FScript: Functional language interpreter - F#/ML inspired

Functional language interpreter - F#/ML inspired. Contribute to MagnusOpera/FScript development by creating an account on GitHub.

github.com

This is how I've implemented string interpolation in Terrabuild last year - it's easy once you understand lexer needs to be context sensitive (kind of aha moment) - at least with FsLexYacc. Link to implementation in #fsharp, as there are few simple materials on the topic. github.com/MagnusOpera/...

terrabuild/src/Terrabuild.Lang at main · MagnusOpera/terrabuild

Seamless CI/CD tool for building and deploying monorepos. Support HCL-like configuration, builds in containers, outputs caching, extensions. - MagnusOpera/terrabuild

github.com

The best thing I did last week was to disable copilot. For PR it’s useful but as a tool to get things done in IDE, what a waste of time. I just want smart completion based on my types, not this shit that understands nothing to what I’m doing. Unfortunately it seems IntelliSense is no more.

Just a quick note to say that I'm currently looking for work. Either Node/Typescript or .NET/C#. Happy to consider contract or perm, but must be remote. Thanks all! RT appreciated 🙏

🚀 .NET 10 Preview 4 is here! ✨ Tons of Blazor & OpenAPI improvements 📱 Android app size reduction 🤖 AI data upgrades for EF Core ⚡ Inlining improvements 📦 New async ZIP APIs & so much more! Learn more: devblogs.microsoft.com/dotnet/dotne... #dotnet

.NET 10 Preview 4 is now available! - .NET Blog

Find out about the new features in .NET 10 Preview 4 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more!

devblogs.microsoft.com

I't s been a while I wanted to implement interpolated string for Terrabuild but was always feared how to do this due to the strong relationship between parser and lexer. I've finally come to something easy to understand using rules in FsLex. Parser is available here: github.com/MagnusOpera/...

Terrabuild/src/Terrabuild.Lang at main · MagnusOpera/Terrabuild

Seamless CI/CD tool for building and deploying monorepos. Support HCL-like configuration, builds in containers, outputs caching, extensions. - MagnusOpera/Terrabuild

github.com

So… How things are going on regarding better #fsharp support for MongoDB ? Well, I’ve stopped investing in previous fork because there were a lot of issues. Looking at the MongoDB C# driver implementation, conventions were not correctly defined so more work had to be done here...

Pierre Chalamet@pchalamet.bsky.social · 2y ago

I have updated MongoDB.FSharp (it was old and abandoned) to .net 9/nullable and latest MongoDB.Driver. Support for #fsharp List, Map, Set, DU, Option, ValueOption. As it's be revamped, it is now named 𝗙𝗦𝗵𝗮𝗿𝗽.𝗠𝗼𝗻𝗴𝗼𝗗𝗕.𝗗𝗿𝗶𝘃𝗲𝗿 and is available on NuGet. github.com/pchalamet/FS...