Coder Social home page Coder Social logo

viktorchernev / describecompiler Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 8.98 MB

A compiler for the Describe Markup Language

License: GNU Affero General Public License v3.0

C# 99.57% HTML 0.30% Dockerfile 0.13%
compiler csharp describe dotnet html-generator json-generator parser xml-generator describe-language describe-markup

describecompiler's Introduction

Describe Markup Language

242452146-26dc5f4b-a676-41b8-837a-ac2fad29e556aa3

Maintaining large data lists, made easy

GitHub release (latest by date) License: AGPL v3

Describe is a markup language used to write and maintain complex data lists that are compiled on demand to html, xml, sql, json and any other language needed. Describe is simple to use, intuitive and easy to master, and readily extendible.

How to

In order to run the DescribeCompilerCLI.exe you need a Windows PC with DotNet framework version 4.8 or higher. In order to reference the DescribeCompilerAPI.dll in your DotNet projects, you need to target DotNet framework version 4.8 or higher. There are no other dependencies. Also, be sure to check out our wiki for the complete documentation.

0. Set up highlighting

In order to highlight Describe code, you can download the xml files for Notepad++ from the folder Highlighting, or use the instructions provided in said folder to set up your preferred text editor.

1. Write Describe code

Write a title of each list, followed by an arrow -> and the elements, one on a line, separated by comma , and end with a semicolon ;. Add [links] in square brackets, and <tag> items in order to piece lists together. Add additional data as {decorators} in curly brackets. For more info visit the documentation or explore Describe source codes and test cases in this huge collection.

pic1a

Run the CLI compiler by specifying the target folder (or file) as first argument and output file (or folder) as second argument. Add options after that, if needed.

pic2a

3. Result

The final output will depend on the translator used - and you can easily write your own translator, or use the ones that are prebuilt for you. Here we are using a set of particular HTML templates to build a bare-bone website.

pic3a

Get in touch

  • Use GitHub's issue reporter on the right
  • Send me an email [email protected] (might take a few days)
  • You can reach me on Viber as well: +359-885-18-05-86

Releases

  • 0.9.3 (Support for Describe Language v1.0 - Official)
  • 0.9.2 (Added features and bugfixes)
  • 0.9.1 (Refactoring, added features and bugfixes)
  • 0.9 (Initial release - Open beta)

Notes

  • We currently have inbuilt translators for HTML and JSON. If you need to target other languages, you'd have to write your own translator - it is very easy. I will give updates here when more translators are available.

describecompiler's People

Contributors

sneaksensed avatar viktorchernev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.