name subject to change lol
Go to file
Zorchenhimer b952ac99ac Fix a lot of memory leaks
Added a bunch of code to free created objects.  One notable change was
to return the next token from FreeToken() to cut down on boiler plate
code that kept track of a "consumed" token.  Now all that just happens
in FreeToken() and I don't have to worry about that anywhere else.

Also added FreeNode() to free all nodes.  This wasn't done before at
all.  Like FreeToken(), it will return the next node in the list to
avoid having to track that stuff in the calling context.
2023-11-15 21:43:03 -05:00
.gitignore Initial commit 2021-07-14 11:15:46 -04:00
Makefile Tweak makefile CFLAGS 2023-10-22 16:53:51 -04:00
lexer.c Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
lexer.h Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
main.c Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
main.h Initial commit 2021-07-14 11:15:46 -04:00
node.c Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
node.h Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
readme.md Initial commit 2021-07-14 11:15:46 -04:00
sample.md Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
token.c Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00
token.h Fix a lot of memory leaks 2023-11-15 21:43:03 -05:00

readme.md

Terminal Markdown Viewer

Goals

To render markdown in the terminal and use colors, font weights, etc, to display the document.

Implemented syntax

  • Headers
  • Unordered lists
  • Ordered lists
  • Inline code
  • Block code
  • Block quote?
  • Bold
  • Underline

maybies

  • Task list
  • Explicit colors
  • Inter-document links

nopes

  • Tables
  • Syntax highlighting code