These are my solutions for the problems from Project Euler. Judge me on the implementations if you feel like it, but please regard the timestamp of the commit. I probably won't fix old or definitely non-idiomatic code. I usually touch these problems to get familiar with a language or its specific features (or in the case of C, programming in general).
There's also a few similar problems on 4Clojure specifically for... well... Clojure.
For something very similar, check out Exercism. I also threw my solutions from there into a repo here.
Should compile with probably any C compiler out there and the most standard flags and whatnot. Simple stuff. This is also old and stupid code.
Just throw it into a playground or compile it directly, whatever you prefer.
Compile and run with swift file.swift
.
These files will probably contain outdated Swift syntax, so forgive me if it doesn't run with the most current version of the swift runtime/compiler.
If you're an experienced functional programmer, please be easy on my code. I've never really done purely functional stuff before this.
Code should be able to execute with lein exec file.clj
. The exec plugin for leiningen is needed though.
Compile and run with crystal file.cr
.