Skip to content

syntax-objects/syntax-parse-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syntax-parse-example

Build Status Scribble

Example macros written using syntax/parse.

Install

  > raco pkg install syntax-parse-example

Or

  > git clone https://github.com/bennn/syntax-parse-example
  > raco pkg install ./syntax-parse-example

Browse

The documentation is online:

And, if you installed the package, on your computer:

  > raco docs syntax-parse-example

Or, just browse this repo. Except for the lang/ folder, every folder here contains:

  • one file implementing a macro,
  • one file with unit tests, and
  • one file documenting the macro

Contribute

To contribute a macro named M:

  1. Clone this package (raco pkg install --clone syntax-parse-example)
  2. Navigate to the syntax-parse-example/ folder on your machine
  3. Run raco syntax-parse-example --new M
  4. Edit the newly-generated files:
  • M/M.rkt
  • M/M-test.rkt
  • M/M.scrbl
  1. Submit a pull request!

Releases

No releases published

Packages

No packages published

Languages