Skip to content

Commit

Permalink
Remove constraint on Alex 3.0.1, it is only required to make changes …
Browse files Browse the repository at this point in the history
…to the lexer. Closes #19
  • Loading branch information
alanz authored and erikd committed Jul 26, 2015
1 parent 852d574 commit 72c1d66
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,20 @@ UTF8/Unicode version
Alex 3.0 now supports unicode natively, and has been included as a
dependency in the cabal file.

Note: The generation of the lexical analyser has been separated out,
to remove the install-time dependency on Alex. If any changes
need to be made to the lexer, the Lexer.x source lies in
src-dev, and the runalex.sh script will invoke Alex with the
appropriate directories.

At the moment (0.5.6), the lexer can only be generated with Alex
3.0.1

Changes

0.5.6 Remove constraint on Alex 3.0.1, it is only required to make
changes to the lexer. Closes #19

0.5.5 Updated version ranges for GHC 7.6.1, courtesy of @mietek
Note: requires alex 3.0.1 for development (not install)

Expand Down
4 changes: 2 additions & 2 deletions language-javascript.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: language-javascript
Version: 0.5.5
Version: 0.5.6
Synopsis: Parser for JavaScript
Description: Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.
.
Expand Down Expand Up @@ -39,7 +39,6 @@ Library
, bytestring >= 0.9.1 && < 1
, utf8-string >= 0.3.7 && < 1
build-tools: happy >= 1.18.5
, alex == 3.0.1
hs-source-dirs: src
Exposed-modules: Language.JavaScript.Parser
Language.JavaScript.Parser.Parser
Expand Down Expand Up @@ -79,3 +78,4 @@ Test-Suite test-language-javascript
source-repository head
type: git
location: git://github.com/alanz/language-javascript.git

0 comments on commit 72c1d66

Please sign in to comment.