Skip to content

Figuring out how to compile `match` expressions in a simple Lisp dialect.

Notifications You must be signed in to change notification settings

Idorobots/match-compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

match-compile

Figuring out how to compile match expressions in a simple Lisp dialect.

So far the following methods are implemented:

A benchmark is provided in test/benchmark.rkt comparing the performance of the various methods against the Scheme implementation used:

$ racket test/benchmark.rkt
Racket match:  cpu time: 633 real time: 635 gc time: 346
Naïve match:   cpu time: 5106 real time: 5121 gc time: 495
Combine match: cpu time: 1710 real time: 1714 gc time: 411

About

Figuring out how to compile `match` expressions in a simple Lisp dialect.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages