batiste / CokeScript

CokeScript is a whitespace sensitive language that compile to JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] How to specify output file name ?

vlad0337187 opened this issue · comments

Hello

How to specify target file name ?
I tried different variants, but nothing works.
It just compiles to '.coke.js' file, when I specify '.js' file.

Example:
screenshot from 2018-06-27 01-54-55

Thank you.

Best regards,
Vladislav

When you install cokescript you get access to the coke command line...

$ coke input.coke -o output.js

Does it answer your question?

@batiste , yes, that worked.

Thank you, I figured out, option '-c' prevented me from needed behavior.
Thank you very much.

The coke script is quite crud:

https://github.com/batiste/CokeScript/blob/master/lib/coke.js

Contributions are welcome :-)

Thank you. If I could understand something, I would contribute =)