https://github.com/ryanfleck/rml
Ryan's Micro LISP
https://github.com/ryanfleck/rml
Last synced: 12 months ago
JSON representation
Ryan's Micro LISP
- Host: GitHub
- URL: https://github.com/ryanfleck/rml
- Owner: RyanFleck
- Created: 2018-08-06T16:45:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-31T18:35:16.000Z (over 6 years ago)
- Last Synced: 2025-03-28T07:31:44.318Z (about 1 year ago)
- Language: C
- Homepage: https://ryanfleck.github.io/RML/
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ryan's Micro LISP
[](https://travis-ci.org/RyanFleck/RML)

This is a tiny lisp. No use case yet, just building it for fun. It can currently only parse polish mathematical grammar with the four basic operations, separated with parentheses to an infinite depth. It can compile across UNIX OSes (discluding MacOS,) but with reduced history and line-editing functionality on Windows. Uses the `astyle` program invoked as `astyle -A3 rml.c` to enforce K&R formatting.
## TODOs
- Look into *ValGrind*
## Additions to VimRC
On a whim, I've decided to use `clang-format` as my code formatter, but upon
running it, found it uses two spaces for indentation. No matter - I made the
following tweaks to my `.vimrc` to account for this.
```vim
autocmd FileType c call SetCOptions()
function SetCOptions()
nnoremap :w :! clear && gcc % && clear && ./a.out
nnoremap :w :! clear && clang-format -i % && echo "Formatted."
set tabstop=2
set shiftwidth=2
set softtabstop=2
endfunction
```