Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004432OCamlCamlp4public2007-10-26 11:072013-08-01 04:01
Reporterhirokawa 
Assigned Tohongboz 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionopen 
PlatformOSOS Version
Product Version3.10+dev 
Target VersionFixed in Version 
Summary0004432: Syntax extension for loading .ml
DescriptionIt would be very helpful for users of the OCaml interpreter if Camlp4 had a syntax extension for loading a .ml file (and .mli file) as a module (with signature):

  # LOAD "a.ml";;
  module A : sig val a1 : int end

  # A.a1;;
  - : int = 1

Attached (load.ml) is its implementation.
TagsNo tags attached.
Attached Files? file icon load.ml [^] (1,124 bytes) 2007-10-26 11:07 [Show Content]

- Relationships

-  Notes
(0007963)
hongboz (developer)
2012-08-22 12:00

This will make LOAD a keyword, it will definitely breaks existing code. A quotation with an another Lexer module should be used.
(0009657)
hongboz (developer)
2013-07-01 02:48

in 4.1, #mod_use directive is introduced
(0010047)
berenger (reporter)
2013-08-01 04:01

Is it not possible to backport it to the current release also
(4.00.1).
This directive should have been here for years!
It's so useful!

- Issue History
Date Modified Username Field Change
2007-10-26 11:07 hirokawa New Issue
2007-10-26 11:07 hirokawa File Added: load.ml
2007-11-10 14:08 xleroy Status new => assigned
2007-11-10 14:08 xleroy Assigned To => ertai
2012-07-12 11:28 doligez Assigned To ertai =>
2012-07-12 11:28 doligez Status assigned => acknowledged
2012-08-22 12:00 hongboz Note Added: 0007963
2013-07-01 02:48 hongboz Note Added: 0009657
2013-07-01 02:48 hongboz Assigned To => hongboz
2013-07-01 02:48 hongboz Status acknowledged => resolved
2013-08-01 04:01 berenger Note Added: 0010047


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker