Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexknauth/multi-file-lang
a racket #lang for multiple files in one
https://github.com/alexknauth/multi-file-lang
Last synced: about 1 month ago
JSON representation
a racket #lang for multiple files in one
- Host: GitHub
- URL: https://github.com/alexknauth/multi-file-lang
- Owner: AlexKnauth
- License: mit
- Created: 2015-08-12T02:51:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-02T19:08:12.000Z (about 5 years ago)
- Last Synced: 2024-10-16T02:55:11.244Z (3 months ago)
- Language: Racket
- Size: 15.6 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
multi-file-lang [![Build Status](https://travis-ci.org/AlexKnauth/multi-file-lang.png?branch=master)](https://travis-ci.org/AlexKnauth/multi-file-lang)
===
a racket #lang for multiple files in onedocumentation: http://docs.racket-lang.org/multi-file-lang/index.html
Example:
```racket
#lang multi-file
#file a.rkt
#lang racket/base
(provide x f)
(define x 3)
(define (f x) (string-append "hello" (make-string x #\!)))
(f 1)
#file b.rkt
#lang racket/base
(require "a.rkt")
x
(f x)
```