NAUSEA - Tasks: task #4895, Use Guile modules
You are not allowed to post comments on this tracker with your current authentication level.
task #4895: Use Guile modules
Submitter: | Luca Saiu <positrone> | ||
Submitted: | Fri 04 Nov 2005 01:31:47 PM UTC | ||
Should Start On: | Thu 03 Nov 2005 11:00:00 PM UTC | Should be Finished on: | Thu 03 Nov 2005 11:00:00 PM UTC |
Category: | World Server | Priority: | 1 - Later |
Status: | None | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Open |
Difficulty: | Medium |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
No changes have been made to this item
Powered by Savane 3.13-f8d8.
Corresponding source code
Guile modules are nice and simple; we should separate all Nausea-related definitions into one module, and possibly more specific world-related definition into another different module.
This task only deals with introducing module support. The problem which this will allow to solve will be managed as separate tasks.
Rationale: querying the system for definitions would also allow to implement persistence in an elegant and general way; the remaining problem would be the serialization of procedures, but I think it can be solved completely in Scheme, using some recursive procedure calling procedure-source and procedure-environment.
There's no need to dump procedures and types defined in C++, and this is another simplification. C++ smobs must be dealt with in some special way, but they are always known at compile time, which makes easier to support them.