victornicollet / 99-problems-ocaml Goto Github PK
View Code? Open in Web Editor NEWSolving "99 List Problems" using Objective Caml
License: Other
Solving "99 List Problems" using Objective Caml
License: Other
Hello,
Under what license are these codes released? I’m considering copying the skeleton & tests (i.e. everything but each function’s body) to create a base repository for anyone who wants to try these tests. See what I did for Scala here. The idea is that anybody would be able to fork the repo (and/or clone it locally) and fill the blanks.
Hi Victor
If you have time, could you please have a look at problem 96, the syntax checker?
Syntax checker. (medium)
In a certain programming language (Ada) identifiers are defined by the syntax diagram >(railroad chart) opposite. Transform the syntax diagram into a system of syntax >diagrams which do not contain loops; i.e. which are purely recursive. Using these >modified diagrams, write a function identifier : string -> bool that can check whether or >not a given string is a legal identifier.
More example is here: http://www.haskell.org/haskellwiki/99_questions/95_to_99
I have solved this problem here:
https://github.com/MassD/99-Problems-OCaml/blob/master/91-99/p96.ml
do you think my solution is correct? I feel it is too simple. If you believe it is correct, I can produce a pull request.
This is interesting. Would you like to contribute it to the community website https://github.com/agarwal/ocamlweb ? We would like to use it as a "learn by doing tutorial". I can create s structure to display the question and hide the answer until the visitor click on a button. We have the infrastructure to execute code snippet embedded in HTML so the code could actually be checked.
Hi Victor
I am doing the 99 problems in OCaml now.
do you want me to make pull requests frequently or in a batch? Either way is fine with me, I just don't know which way you would like to review
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.