Add Tesserae.Playground.Host with H5 Compiler Service#56
Add Tesserae.Playground.Host with H5 Compiler Service#56theolivenbaum wants to merge 1 commit intomasterfrom
Conversation
- Create Tesserae.Playground.Host ASP.NET Core project - Implement CompilerService to compile C# code to H5 using H5.Compiler.Service - Add PackageDownloader to fetch h5, h5.core, and h5.Target dependencies at runtime - Configure custom MSBuild SDK resolution to support h5.Target and .NET SDKs in the hosted environment - Expose /compile endpoint for receiving source code and returning JS/HTML output - (Partial implementation: FrontEnd pending review of Host SDK resolution strategy) Co-authored-by: theolivenbaum <8791811+theolivenbaum@users.noreply.github.com>
| 👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR introduces the
Tesserae.Playground.Hostproject, which serves as a backend for the Tesserae Playground. It leverages theH5.Compiler.Serviceto compile user-submitted C# code into JavaScript and HTML compatible with the H5 runtime.Key features implemented:
H5.Translator, downloading necessary NuGet packages (h5,h5.core,h5.Target), and invoking the compilation process.h5.Targetand system .NET SDKs) in a temporary directory and configuresMSBuildSDKsPathto enable theH5.Compiler.Serviceto resolve build targets correctly./compileendpoint that accepts C# source and returns the generated JavaScript and index.html.This submission represents the current progress on the Host implementation, specifically addressing the complex dependency and SDK resolution requirements of hosting the H5 compiler. The
Tesserae.Playground.FrontEndproject is planned for the next phase.PR created automatically by Jules for task 10862351439595950420 started by @theolivenbaum