Skip to content

Instantly share code, notes, and snippets.

@lbruder
lbruder / lbForth.c
Created April 6, 2014 15:21
A minimal Forth compiler in ANSI C
/*******************************************************************************
*
* A minimal Forth compiler in C
* By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com
* Release 2014-04-04
*
* Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial
*
* PUBLIC DOMAIN
*
@lbruder
lbruder / SchemeNet.cs
Last active March 2, 2023 13:39
A Scheme subset interpreter in C# with tail calls, CL style macros, basic .NET FFI and part of SRFI-1
// SchemeNet.cs version 2013-12-10
// A Scheme subset interpreter in C#
// Features: Tail calls, CL style macros, basic .NET FFI, part of SRFI-1
// Focus is on readability and source code size, not on speed.
// Copyright (c) 2012-2013, Leif Bruder <leifbruder@gmail.com>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//