Skip to content

feat: implement Phoenix LiveView UI and PostgreSQL persistence#12

Merged
nachodall merged 3 commits into
mainfrom
web-interfacec
Mar 1, 2026
Merged

feat: implement Phoenix LiveView UI and PostgreSQL persistence#12
nachodall merged 3 commits into
mainfrom
web-interfacec

Conversation

@nachodall

@nachodall nachodall commented Mar 1, 2026

Copy link
Copy Markdown
Owner

This PR completes requirement 2 of the Forth Interpreter project by transforming the standalone evaluator into a web application. The core logic has been integrated into a Phoenix LiveView environment, providing a reactive interface and persistent storage for execution history.

Key changes:

  • Architecture Refactor: Compile the proyect with Phoenix and moved the core logic to lib/forth_interpreter_elixir/forth.ex and integrated it into the Phoenix application tree.

  • Persistence Layer: Implemented the Interpreters.Execution schema and Ecto migrations to store program inputs and stack results in PostgreSQL.

  • UI: Created a ForthLive module that handles real-time code evaluation and dynamic updates to the history table without page reloads.

  • Boilerplate and assets: Added necessary Phoenix boilerplate, including Tailwind CSS (via DaisyUI) and core UI components for a polished look.

Closes #11

@nachodall nachodall self-assigned this Mar 1, 2026
@nachodall nachodall merged commit d794152 into main Mar 1, 2026
1 check passed
@nachodall nachodall deleted the web-interfacec branch March 1, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Phoenix LiveView web interface and PostgreSQL persistence

1 participant