Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004432OCamlCamlp4public2007-10-26 11:072012-09-04 09:52
Reporterhirokawa 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusacknowledgedResolutionopen 
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

- 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.

- 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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker