Git Product home page Git Product logo

Comments (8)

vygr avatar vygr commented on May 6, 2024 1

If I can get some REF.md file auto created containing the current functions info, I'll add support for a description.

Probably a (make-doc) command. Anyways, job for tomorrow :)

from chrysalisp.

vygr avatar vygr commented on May 6, 2024 1

Run the text ui. Via './run_tui.sh' then at the terminal prompt, type 'lisp.lisp' to run the Lisp interpreter. Then you can run (make-doc) to generate the doc/CLASSES.md file from the sources.

cntrl-c to exit the Lisp terminal.

The (make-doc) function is in the 'cmd/asm.inc' file at the bottom if you feel like having a play with the code. It's reasonably easy to follow.

Regards

Chris

from chrysalisp.

vygr avatar vygr commented on May 6, 2024 1

Not exactly 'docstrings' but the result is good. Thanks for the prompt to get this done Alex.

Chris

from chrysalisp.

vygr avatar vygr commented on May 6, 2024

I was just talking to Andy about auto generating the ref documentation. The current make command is half way to being able to do that and I was going to look at getting a similar peice of code to output .md files for each function tomorrow.

Also, yes, there needs to be a section added like the 'inputs' and 'outputs' like 'description' that can be pulled out and added to those ref docs beyond the registers usage info.

Chris

from chrysalisp.

traverseda avatar traverseda commented on May 6, 2024

Awesome, feel free to let me know if you need any changes to the sphinx side of things.

from chrysalisp.

vygr avatar vygr commented on May 6, 2024

First attempt at an (make-doc) command pushed :)
Needs work, but gets us started.

from chrysalisp.

traverseda avatar traverseda commented on May 6, 2024

I'm not sure how to run that from the linux environment.

from chrysalisp.

vygr avatar vygr commented on May 6, 2024

Just pushed a version of (make-doc) that uses de-structuring to make things clearer.

from chrysalisp.

Related Issues (20)

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.