Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

konscript

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

konscript

konni kon konni konni

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This is an implementation of the now best language ever! (konscript)

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!

    konni konscript er 'very konni'

	kdef konn med foo bar bat
	    kall console.kon med foo
	    kdef nested
	        kall console.kon med ['konni', 'kon']
	    enda
	    kall nested
	enda bar

Installation

npm install -g konscript

Usage

Command Line

konscript without a file launches a REPL.

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

Options:

  • --beautify - Runs the code through a beautifier.
Javascript

konscript(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.

Language

Check out LANGUAGE.md for some documentation. Otherwise, look at the example files in this repo.

Keywords

FAQs

Package last updated on 25 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc