GithubHelp home page GithubHelp logo

byondocs's Introduction

ByonDocs

forthebadge

Mission

BYOND's native language, DM, suffers from a plethora of faults. One of the most notable is the complete lack of any tools for encapsulation, organization, or modularization. Any object type, any variable, or any procedure can be declared anywhere in the entire codebase. This makes it very difficult to navigate the codebase, especially for a beginner programmer, but even just for people who aren't used to the codebase.

Another significant problem BYOND/DM has is the lack of documentation tools. The closest offer by BYOND/DM is the object tree dump, which outputs in a confusing format and doesn't contain a lot of information.

ByonDocs seeks to solve the problems of navigability and documentation, at least partially. Its purpose is to generate a static webpage with details about every object node, its variables, its procedures, and its children stored in a consistent, easily readable format.

Documentation is supported by means of comments in the code. Take the following example:

/**
 * Performs foo.
 */
 datum/bar/proc/foo()
	 // foo here
	 ..()

This could be placed in any file across the codebase, in a place completely unrelated to bar. ByonDocs will consolidate all of these fragments into one place, and take comments like the helpful note in the example above and attach them to the relevant items.


Current State

In its current form, ByonDocs can parse the object tree and pick out the variables of object nodes and documentation comments. Procs are not yet parsed, and documentation comments are inserted into the document raw.

Goals

  • Parse documentation as markdown
  • Include more navigability features in the generated HTML
  • Include a feature to update existing documentation
  • Inline links directly to source code

License

ByonDocs is licensed under GPLv3 or later.

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.