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

Handling misconecption of Ocaml and Standard ML in issue #2208 #2239

Closed
wants to merge 1 commit into from
Closed

Conversation

pawandeep2155
Copy link

I added code in heuristics.rb of lib folder.
There are few unique keywords which are present uniquely in both the languages.
Ocaml :- /->|assert|class|external|functor|match|mutable|struct|try|inherit|module|virtual/
Standard ML :- /=>|abstype|datatype|handle|infixr|nonfix|withtype|local|andalso|orelese/
I created the regular expression and matched it with the data and if keywords are present then return the language which it matched.

@pchaigno
Copy link
Contributor

A pull request has already been opened at #2227. It should be merged soon.

@arfon
Copy link
Contributor

arfon commented Mar 18, 2015

A pull request has already been opened at #2227. It should be merged soon.

Yep, thanks for your effort on this @pawandeep2155. This has been resolved in #2227

@arfon arfon closed this Mar 18, 2015
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants