Skip to content

Move server functionality to interpreter#86

Merged
figgleforth merged 3 commits intomainfrom
move-server-functionality-to-interpreter
Apr 15, 2026
Merged

Move server functionality to interpreter#86
figgleforth merged 3 commits intomainfrom
move-server-functionality-to-interpreter

Conversation

@figgleforth
Copy link
Copy Markdown
Owner

  • Moved all http server functionality to Interpreter
  • Removed duplicate signal trapping code in src/ore.rb
  • Simplified Interpreter usage in bin/ore, no longer calling duplicate signal trapping func
  • User_Server is now Ore::Server<Instance as it should have been
  • Switched from #decode_www_form to CGI gem to be able to parse utf-8 in request bodies
  • Removed usages of that cool ▓▒░
  • All tests pass

This is a part of the work of bringing features into Interpreter from some useless abstractions. Having one monolith is much simpler mental overhead

You can now do bin/ore check file.ore to do some very basic type checking.
Also added readline gems to suppress warning.
- Moved all http server functionality to Interpreter
- Removed duplicate signal trapping code in src/ore.rb
- Simplified Interpreter usage in bin/ore, no longer calling duplicate signal trapping func
- User_Server is now Ore::Server<Instance as it should have been
- Switched from #decode_www_form to CGI gem to be able to parse utf-8 in request bodies
- Removed usages of that cool ▓▒░
- All tests pass

This is a part of the work of bringing features into Interpreter from some useless abstractions. Having one monolith is much simpler mental overhead
@figgleforth figgleforth merged commit 3e36abd into main Apr 15, 2026
1 check passed
@figgleforth figgleforth deleted the move-server-functionality-to-interpreter branch April 15, 2026 18:43
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.

1 participant