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

Add support for lean #70

Merged
merged 2 commits into from
Sep 29, 2016
Merged

Add support for lean #70

merged 2 commits into from
Sep 29, 2016

Conversation

gebner
Copy link
Contributor

@gebner gebner commented Sep 29, 2016

This PR adds support for Lean source files.

Futhermore I have slightly modified the handling of nested single-line comments. In at least Haskell and C (and also Lean) line comments are ignored if they occur inside a multi-line comment. For example the following programs both work:

{- -- -}
main = putStrLn "Hello, world!"
/* // */
#include <stdio.h>
int main(int argc, char **argv) { printf("Hello, world!\n"); return 0; }

I don't know if any other language handles this differently.

@XAMPPRocky XAMPPRocky merged commit 9faa8d4 into XAMPPRocky:master Sep 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants