Permalink
Browse files

Remove constraint on Alex 3.0.1, it is only required to make changes …

…to the lexer. Closes #19
  • Loading branch information...
1 parent 256bc2e commit 0b04a58191851adabc4a6d4c68e7d52435135d4b @alanz alanz committed Oct 15, 2012
Showing with 13 additions and 2 deletions.
  1. +11 −0 README
  2. +2 −2 language-javascript.cabal
View
@@ -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)
@@ -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.
.
@@ -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
@@ -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 0b04a58

Please sign in to comment.