gen_server
Client-server behaviour scanner, callbacks, call/cast/info analysis, and state transition notes.
init/1 · handle_call/3 · terminate/2PYTHON COMPILER STUDIO STYLE / ERLANG OTP
Wadah dibuat mengikuti gaya Python Compiler Studio: neon operations workspace, editor besar, output terminal, diagnostics, metrics, dan PWA. Fitur OTP Master diterapkan sebagai analyzer, simulator, source map, dan native erlc runner blueprint.
FAULT_TOLERANT_WORKER.ERL
OTP MASTER FEATURES
Client-server behaviour scanner, callbacks, call/cast/info analysis, and state transition notes.
init/1 · handle_call/3 · terminate/2Restart strategy visualizer with one_for_one, one_for_all, rest_for_one and intensity/period hints.
child specs · restart policyOTP application callback guide and .app.src validation for booting supervised systems.
start/2 · stop/1 · applicationsNative compiler bridge blueprint for real BEAM compilation when deployed to a backend/container.
erlc -Wall *.erlSelected files from the uploaded OTP source are included in otp-lite/: gen_server.erl, supervisor.erl, application.erl, README, and license. The full otp-master.zip is not bundled because it is too large for Pages asset upload.
FAULT TOLERANCE
REAL COMPILER BACKEND
docker build -t erl-runner native-runner
docker run -p 8787:8787 erl-runner
curl -X POST http://localhost:8787/api/compile \
-H "content-type: application/json" \
-d '{"filename":"worker_server.erl","source":"..."}'
Static Pages cannot execute erlc directly. Use the included native runner on Node/Docker for real compilation, while this PWA gives instant syntax, OTP, and transcript simulation in the browser.
GUIDE
Checks module/export/functions, Erlang syntax markers, OTP behaviours, and generates BEAM-style output.
Simulates messages, factorial computation, mailbox response, and shell transcript.
Shows worker exit and supervisor restart flow for fault-tolerant design.
Maps your code to OTP behaviours and shows selected source snapshot references.