Skip to content

Commit 0b04a58

Browse files
committed
Remove constraint on Alex 3.0.1, it is only required to make changes to the lexer. Closes #19
1 parent 256bc2e commit 0b04a58

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,20 @@ UTF8/Unicode version
3232
Alex 3.0 now supports unicode natively, and has been included as a
3333
dependency in the cabal file.
3434

35+
Note: The generation of the lexical analyser has been separated out,
36+
to remove the install-time dependency on Alex. If any changes
37+
need to be made to the lexer, the Lexer.x source lies in
38+
src-dev, and the runalex.sh script will invoke Alex with the
39+
appropriate directories.
40+
41+
At the moment (0.5.6), the lexer can only be generated with Alex
42+
3.0.1
3543

3644
Changes
3745

46+
0.5.6 Remove constraint on Alex 3.0.1, it is only required to make
47+
changes to the lexer. Closes #19
48+
3849
0.5.5 Updated version ranges for GHC 7.6.1, courtesy of @mietek
3950
Note: requires alex 3.0.1 for development (not install)
4051

language-javascript.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: language-javascript
2-
Version: 0.5.5
2+
Version: 0.5.6
33
Synopsis: Parser for JavaScript
44
Description: Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.
55
.
@@ -39,7 +39,6 @@ Library
3939
, bytestring >= 0.9.1 && < 1
4040
, utf8-string >= 0.3.7 && < 1
4141
build-tools: happy >= 1.18.5
42-
, alex == 3.0.1
4342
hs-source-dirs: src
4443
Exposed-modules: Language.JavaScript.Parser
4544
Language.JavaScript.Parser.Parser
@@ -79,3 +78,4 @@ Test-Suite test-language-javascript
7978
source-repository head
8079
type: git
8180
location: git://github.com/alanz/language-javascript.git
81+

0 commit comments

Comments
 (0)