Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.
/ collabs Public archive

A language to collaborate between multiple others; generate enums and interfaces using this DSL and port them to other languages with a CLI command.

Notifications You must be signed in to change notification settings

seiyria/collabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collabs

A tool to create cross-language enums and interfaces.

Usage

npx collabs

CLI Flags

  • --file - the .collab file to parse
  • --outFile - the destination file to output
  • --format - the format of the file to parse as (supports ts only at this time)

Supported Features

  • Interface data types: string, char, boolean, integer, float, any, Record<x, y>, Array<x>
  • Enum types: Bare enums, numerical enums, string enums
  • Turn .collab files into any* language

* only the languages in formats/ are supported at this time

Examples

Check out the examples directory to see some simple examples.

About

A language to collaborate between multiple others; generate enums and interfaces using this DSL and port them to other languages with a CLI command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published