GithubHelp home page GithubHelp logo

mmontone / erudite Goto Github PK

View Code? Open in Web Editor NEW
72.0 7.0 11.0 2.88 MB

:green_book: Literate Programming System for Common Lisp

Home Page: http://mmontone.github.io/erudite

License: MIT License

Common Lisp 89.90% NewLisp 2.40% TeX 5.03% Makefile 2.67%
literate-programming lisp common-lisp

erudite's Issues

Can we capture a function output ?

Hi,

Is it possible (or the goal) in erudite to capture and print the output of a function, akin to org mode ?

I'm imagining:

#| The latest news are:

@capture
#|
(defun latest-news ()
  (…))
(latest-news)

Regards

No process-doc for markdown syntax

Hi,

I'm interested to write embedded doc in markdown (as advertised :D ) but it seems support doesn't exist.

(erudite:erudite t "test.lisp" :output-type :markdown :syntax :markdown)
ERROR: There is no primary method for the generic function
         #<STANDARD-GENERIC-FUNCTION ERUDITE::PROCESS-DOC (5)>
       when called with arguments
         (:MARKDOWN :MARKDOWN "Hello erudite."
          #<SB-IMPL::STRING-OUTPUT-STREAM {10049C0123}>
          #<CLOSURE (FLET ERUDITE::PROCESS-CONT :IN ERUDITE::PROCESS-FRAGMENT) {10049C673B}>).
See also:

And indeed, there is no process-doc method that specializes on :markdown.

I see a syntax/markdown.lisp file, then no *markdown-syntax* as with *erudite-syntax*. Is it ready, is there much left ?

Regards

How to comment code ?

I have unfinished code that I'd like to show in the documentation, but that shouldn't be run. If I comment it inside #|…|#, it is outputted as regular text (expected). If I comment it with ;;, it is a it annoying.
So I thought there could be a @comment syntax, is there one ? (couldn't see one in erudite.lisp) I also could use markdown's code snippet inside the #|, but markdown syntax for input is not supported.

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.