L
lingcoder
↓ 0 downloadsLingCoder: a Geany / VS Code-style IDE for Ling, written in Ling. Explorer, tabs, syntax-coloured editor with lint, find in files, command palette, run/build panel, and hot-reloaded extensions - including a Claude assistant.
Keywords ide, editor, ling, claude, extensions
lingfu install lingcoderCode / Files (34)
run.bat
@echo off
rem LingCoder launcher. Finds a ling build and runs the IDE with it.
rem Candidates, best first: a web-feature build (silent background jobs for Run/Claude),
rem then the ordinary release build next door, then `ling` on the PATH.
rem Everything the IDE prints (including errors) goes to lingcoder.log; a crash that
rem closes the window leaves its reason there.
setlocal
set ROOT=%~dp0
set LING=
for %%C in ("%ROOT%..\ling\target-coder\release\ling.exe" "%ROOT%..\ling\target\release\ling.exe" "%ROOT%bin\ling-coder.exe") do call :try "%%~C"
if not defined LING set LING=ling
cd /d "%ROOT%"
set RUST_BACKTRACE=1
"%LING%" run --interp ling\main.ling %* > "%ROOT%lingcoder.log" 2>&1
if errorlevel 1 (
echo LingCoder stopped with an error ^(exit code %errorlevel%^). The last lines of lingcoder.log:
powershell -NoProfile -Command "Get-Content -Tail 40 '%ROOT%lingcoder.log'"
pause
)
exit /b 0
:try
if defined LING exit /b 0
if exist "%~1" set "LING=%~1"
exit /b 0