gilch / hissp

It's Python with a Lissp.
https://gitter.im/hissp-lang/community
Apache License 2.0
369 stars 9 forks source link

[# macro and doc improvements #166

Closed gilch closed 2 years ago

gilch commented 2 years ago

Python slices! This one does an injection, but it should be fairly well contained most of the time and it's just too useful to omit. I avoided using it in the macro definitions, although it certainly would have simplified a number of places. I also added to the macro tutorial explaining how to implement this one.

I also reworked the code theme in the docs for better contrast. The default Monokai comments are a little to faint for how much I'm using them.

spy# and time# now pretty-print. This complicates the macros, but just a bit. Not sure if it's worth it yet.

Lots of other doc improvements.

gilch commented 2 years ago

Probably the pretty prints. Need to update some tests.

codecov[bot] commented 2 years ago

Codecov Report

Merging #166 (a29c70a) into master (e77fed1) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #166   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          689       689           
  Branches       108       108           
=========================================
  Hits           689       689           
Impacted Files Coverage Δ
src/hissp/compiler.py 100.00% <ø> (ø)
src/hissp/reader.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more