From c10c695c505585bac6ac904f8d4ec78d916f473a Mon Sep 17 00:00:00 2001 From: deathcap Date: Wed, 4 May 2016 00:49:18 -0700 Subject: [PATCH] Add link to more complex transpile example, FreeBSD's bin/ls.c --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index bcca18c..1d1f9df 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,12 @@ function main(argc, argv) } ``` +A more complex example: +[ls.js](https://gist.github.com/deathcap/77bbe28924948e86529468f43b837ba6). +(original source from [FreeBSD /head/bin/ls/ls.c](https://svnweb.freebsd.org/base/head/bin/ls/ls.c?revision=285734&view=markup)) +Not all complex C programs will transpile successfully +(patches welcome). + ## License MIT