~jojo/Carth

43ff4801d65e2717be30b01d2953cbcb0193d2e6 — JoJo 2 years ago 432d36c
Remove features &example from README. They belong on the site.
1 files changed, 2 insertions(+), 21 deletions(-)

M README.org
M README.org => README.org +2 -21
@@ 1,27 1,8 @@
#+TITLE: The Carth programming language

Purely functional programming with lisp-syntax. Less infix, more parens! [[https://carth.jo.zone/][https://carth.jo.zone/]]
Purely functional programming with lisp-syntax. Less infix, more parens!

* Features
  - Scheme-inspired syntax and feel
  - Static, Hindley-Milner typechecking à la ML
  - Currying
  - Compiled with LLVM-based backend
  - [[https://carth.jo.zone/pages/reference.html#Literate-Carth][Native support for literate programming in Org-mode]]

* Examples
  Not much is working yet, but here's an example of something simple
  that compiles and runs today. Note that impure functions like
  ~printInt~ only temporarily exist for development purposes.

  #+BEGIN_SRC scheme
  (define (main _)
    (seq (printInt (id 1337))
         (seq (printInt 42)
              (printInt 69))))
  (define (id x) x)
  (define (seq _ b) b)
  #+END_SRC
Visit [[https://carth.jo.zone/][https://carth.jo.zone/]] for an overview of the language and more info.

* Roadmap
  This is a high-level overview of what is planned for the language, and