summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/enter.rkt
AgeCommit message (Collapse)Author
2013-06-27Racket: not loading errortrace by defaultJose Antonio Ortega Ruiz
The new submodules and errortrace interact badly, for what i've seen. In particular, even with the submodule[+*] loading correctly, its namespace doesn't have all identifiers bound, and new ones seem to appear in the bindings lists (things like a.1 or b.2, when a and b are the actual identifiers defined inside the module). Since moreover someone mentioned in the devel ML that errortrace is in general terms buggy, i guess we can leave without it for the time being.
2013-06-11racket: struggling with submodulesJose Antonio Ortega Ruiz
Submodule (re)loading is not without pecularities. In particular, module[*+] submodules are not visited the first time one enters its parent, but once you load them once, they're revisited every time we load the parent afterwards--racket's native enter! exhibits the same behaviour, so i'm guessing we'll have to live with that. There is however a glitch in that submodules can only be reloaded then by loading the parent, so we need to confirm that this is expected behaviour and, if it is, automating the parent's load when the submodule's is requested. On the other hand, entering a module[*+] is not working in Geiser yet, and it does in plain racket, so this one is our fault. Working on it.
2013-06-10NitsJose Antonio Ortega Ruiz
2013-06-09racket: handling correctly submodules in load handler during ,enterJose Antonio Ortega Ruiz
That is, complying to the submodule loading protocol (cf. racket's own enter!).
2012-10-28Racket: fix for module evaluation/enteringJose Antonio Ortega Ruiz
Our module loader is receiving load requests for module names represented as lists that are not exactly a submodule, in the sense that the path does not represent an actual file. This phenomenon happens for instance when specifying a reader in a #lang tag. E.g. #lang at-exp racket will cause the loader to be called with module name '(main reader) and path <cols-path>/at-exp/main.rkt, where main.rkt does not exist. Afterwards, we see a call to load at-exp/lang/reader/rkt, with name reader, which is the real code. So, for now, i'm skipping all load requests with a list name, forwarding them to racket's default loader.
2012-09-15racket: fix re-loading of modules with submodules (e.g. plai-typed)Jose Antonio Ortega Ruiz
Resolved module path can now be, besides symbols, a list representing a submodule. When deciding whether what we are loading in enter's current loader is a module or not, we have now to take that bit into account.
2012-09-02Racket: fix for enter!Jose Antonio Ortega Ruiz
2012-09-01Little cleanupsJose Antonio Ortega Ruiz
2012-07-01Racket: fix for module compilation for recent racketsJose Antonio Ortega Ruiz
This one probably requires Racket 5.3, and incorporates some parameterization to the module compilation and evaluation code in Geiser's version of enter.rkt. I'm mostly mirroring what the latter does, and i'm probably not completely understanding all corner cases, so the two users of Geiser should keep an eye open for possible breakage introduced by this patch.
2012-03-24,cd for Racket REPLJose Antonio Ortega Ruiz
It's not perfect and undocumented, but useful nonetheless.
2010-06-10Racket: improvements in module lookups.Jose Antonio Ortega Ruiz
- We now correctly register submodules and handle main files. - We contemplate the possibility that a module is accessed using different paths.
2010-06-08Racket: square cosmetics.Jose Antonio Ortega Ruiz
2010-06-08Racket: autodoc for struct constructorsJose Antonio Ortega Ruiz
2010-06-05Racket: better autodoc for syntax formsJose Antonio Ortega Ruiz
2010-05-24Racket: PLT implementation renamed to Racket.Jose Antonio Ortega Ruiz