-
Notifications
You must be signed in to change notification settings - Fork 704
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
Fix c2hs handling in Cabal #6233
Draft
vmchale
wants to merge
40
commits into
haskell:master
Choose a base branch
from
vmchale:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
fbef0e3
Add sorting mechanism for chs files
vmchale c3e9b87
Fix nested parser bug + remove dead code
vmchale e74115e
Style improvements + slimming
vmchale cca903b
Reorder c2hs files in a library
vmchale 2290218
Prettify
vmchale 625423e
Update ChangeLog
vmchale 71b6d32
Compatibility with older GHCs
vmchale 16b00a2
Disbale warning since we're using a wrapper/template
vmchale 8358fdf
Use Cabal prelude
vmchale 6338732
Fix build for older GHCs
vmchale c018b57
Check Cabal/Distribution/C2Hs/Lexer.hs into version control for sake …
vmchale f721560
Use bootstraph script for Alex
vmchale 64c7d1a
Use Makefile for lexer
vmchale 6281535
Use makefile approach
vmchale bc1ed2c
Modify makefile
vmchale 0dc1c71
Try to reduce time on Mac
vmchale a4a2448
Travis don't install happy
vmchale f71b5af
Pass verbosity appropriately + use cabal's graph/sort capabilities
vmchale a8c95ae
Add comments to functions
vmchale 5f2814f
Clean up + consistent indentation
vmchale 746ae57
Polish up lexer module w.r.t. documentation
vmchale 2154c2c
Use revTopSort instead of reverse . topSort
vmchale eb3d592
Merge branch 'master' of github.com:vmchale/cabal
vmchale b616f0e
Polish/rewrite Distribution.C2Hs
vmchale 243e6b8
Add a few unit tests
vmchale e9cb223
Add tests of c2hs import lexer
vmchale 7b2c729
Add tests of reorderC2Hs + example source files
vmchale 0d0ec9e
Fix documentation + escape correctly
vmchale 0812063
Don't bother supporting .chs main file
vmchale 34f3ff0
Don't use $> to preserve GHC 7.6.3 compatibility
vmchale 280e647
Merge branch 'master' of github.com:haskell/cabal
vmchale f4c354a
Merge branch 'master' of github.com:haskell/cabal
vmchale d6f6feb
Merge branch 'master' of github.com:haskell/cabal
vmchale 6b461de
Fix block comments
vmchale 6ae37b0
Add unit tests for block comments
vmchale fe760c5
Move test modules
vmchale 6031b43
Expand module-level comment
vmchale ca7537b
Add a module-level comment to Cabal.Distribution.C2Hs
vmchale 5bc4c03
Merge branch 'master' of github.com:haskell/cabal
vmchale 0bba20f
merge
vmchale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on the fence with these. The lexer for
.cabal
files is generated in manual preprocessing step (seeMakefile
). And rather keep it that way, i.e. let's not have compile-time dependency on alex.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.