Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[github patch] extend ocamllex with actions before refilling #6315

vicuna opened this Issue Feb 3, 2014 · 1 comment


None yet
2 participants
Copy link

vicuna commented Feb 3, 2014

Original bug ID: 6315
Reporter: @gasche
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:26:27Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 4.02.0+dev
Fixed in version: 4.02.0+dev
Category: tools (ocaml{lex,yacc,dep,debug,...})
Tags: patch
Monitored by: @hcarty

Bug description

Reported by Frédéric Bour:
Patch available at:

The patch introduces a new "refill" action associated to a lexing rule.
It is optional and if not used the lexer specification and behavior are unchanged.

When specified, it allows the user to control the way the lexer is
refilled. For example, an appropriate refill handler could perform the
blocking operations of refilling under a concurrency monad such as Lwt
or Async, to work better in a cooperative concurrency setting.


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Mar 26, 2014

Comment author: @gasche

Merged in 14461.

@vicuna vicuna closed this Dec 11, 2015

@vicuna vicuna added the tools label Mar 14, 2019

@vicuna vicuna added the feature-wish label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.