Skip to content

DTSCode/dogescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dogescript

dogescript

NPM version Build Status Dependency Status devDependency Status

(aka when Zach went insane)

This is an implementation of the best new compile-to-JS language, dogescript. Wow.

And yes, I am very aware I went about a very, er, non-conventional, way of parsing a language, and is probably riddled with bugs and edge-cases. However, this is dogescript, so anything goes!

    wow
         such dogescript
     very compiled
                  next-generation
       npm wow

Installation

npm install -g dogescript

Usage

Command Line

dogescript without a file launches a REPL.

dogescript location/to/dogescript.djs pipes the result to stdout. Use a command like dogescript dogescript.djs > compiled.js to save to a file.

Options:

  • --beautify - Runs the code through a beautifier.
  • --true-doge - Implements "true doge" mode, which splits lines by 3 spaces, instead of by newlines. This stays behind a flag until the spacing it exports is identical to non-true-doge mode. Deprecated in 2.4.0, to be removed in 3.0.0

Javascript

dogescript(file, beauty, trueDoge)

  • file - A string of Dogescript.
  • beauty - A boolean, set to true if you want the output to be ran through a beautifier.
  • trueDoge - A boolean, set to true if you want to enable true-doge mode. Deprecated in 2.4.0, to be removed in 3.0.0

Language documentation

Projects using dogescript

Utilities

Syntax highlighting

Build plugins

Contributors

Dogescript has been made possible thanks to the contributions of many people. Thank you to everyone who has contributed in some way!

$ git log --format='%aN' | sort -u

Bart van der Schoor
Ben Atkin
Chad Engler
Chris Wheatley
Daniel Lockhart
Elan Shanker
Erik Erwitt
Jacob Groundwater
Joe Dailey
Johann Philipp Strathausen
Joseph Dailey
Nicholas Scheurich
Patrick Piemonte
Ray Toal
Zach Bruggeman
achesak
alehander42
dogejs
jasdev
noformnocontent

About

wow so syntax very doge much future

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published