jashkenas--coffeescript/documentation/sections
Danny McClanahan 4e57ca6833 [CS2] Add #! support for executable scripts on Linux. (#3946)
* Add #! support for executable scripts on Linux.

Pass arguments to executable script unchanged if using "#!/usr/bin/env
coffee". (Previously, "./test.coffee -abck" would be turned into "-a -b -c -k",
for example.)

Fixes #1752.

* refactor option parsing

clean up parsing code and in the process fix oustanding bug where coffeescript
modified arguments meant for an executable script

* address comments

* intermediate save

* add note saying where OptionParser is used in coffee command

* add some more work

* fix flatten functions

* refactor tests

* make argument processing less confusing

* add basic test

* remove unused file

* compilation now hangs

* remove unnecessary changes

* add tests!!!

* add/fix some tests

* clarify a test

* fix helpers

* fix opt parsing

* fix infinite loop

* make rule building easier to read

* add tests for flag overlap

* revamp argument parsing again and add more thorough testing

* add tests, comment, clean unused method

* address review comments

* add test for direct invocation of shebang scripts

* move shebang parsing test to separate file and check for browser

* remove TODO

* example backwards compatible warnings

* add correct tests for warning 1

* add tests for warnings

* commit output js libs and update docs

* respond to review comments

also add tests for help text

* respond to review comments

* fix example output

* Rewrite argument parsing documentation to be more concise; add it to sidebar and body; add new output

* Don’t mention deprecated syntax; clean up variable names
2017-07-19 16:25:06 -07:00
..
annotated_source.md Remove hyphen in `coffee-script` 2017-02-12 17:00:05 -08:00
async_functions.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
books.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
breaking_change_fat_arrow.md 2.0.0-beta3 (#4594) 2017-06-30 09:58:05 -07:00
breaking_changes.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
breaking_changes_argument_parsing_and_shebang_lines.md [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
breaking_changes_bound_generator_functions.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
breaking_changes_classes.md [CS2] Fix a couple of typos (#4602) 2017-07-03 22:10:03 -07:00
breaking_changes_default_values.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
breaking_changes_jsx_and_the_less_than_and_greater_than_operators.md [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
breaking_changes_literate_coffeescript.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
breaking_changes_super_extends.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
cake.md Fix broken links, update redirected links (#4505) 2017-04-17 19:43:10 -07:00
chaining.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
changelog.md 1.12.7 docs 2017-07-17 00:25:02 -07:00
chat.md Refactor docs resources section; reorganize outline; other minor corrections 2016-12-18 18:13:59 -08:00
classes.md Fix broken links, update redirected links (#4505) 2017-04-17 19:43:10 -07:00
coffeescript_2.md [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
comments.md Improvements to strings and comments docs; could be back-ported to v1 docs 2016-12-18 15:13:54 -08:00
comparisons.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
conditionals.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
contributing.md Merge discussion of CoffeeScript’s benefits into expanded CoffeeScript 2 section and revised Contributing section 2017-04-02 22:53:18 -07:00
destructuring.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
embedded.md Docs improvements: content in Markdown, organization into subtemplates, fixed tests (#4401) 2016-12-15 21:05:44 -08:00
examples.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
existential_operator.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
expressions.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
fat_arrow.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
functions.md Refactor docs resources section; reorganize outline; other minor corrections 2016-12-18 18:13:59 -08:00
generators.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
heregexes.md Docs improvements: content in Markdown, organization into subtemplates, fixed tests (#4401) 2016-12-15 21:05:44 -08:00
installation.md Merge branch 'master' into 2 2017-05-14 22:05:37 -07:00
introduction.md 1.12.7 (#4617) 2017-07-16 23:53:22 -07:00
jsx.md [CS2] Fix a couple of typos (#4602) 2017-07-03 22:10:03 -07:00
language.md Modernize various sections as relevant to v2; improve presentation of tables 2016-12-19 22:27:32 -08:00
lexical_scope.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
literate.md [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
loops.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
modules.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
objects_and_arrays.md Docs improvements: content in Markdown, organization into subtemplates, fixed tests (#4401) 2016-12-15 21:05:44 -08:00
operators.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
overview.md On mobile, the code examples are stacked 2016-12-15 23:19:50 -08:00
prototypal_inheritance.md [CS2] Remove unnecessary utility helper functions (#4526) 2017-04-25 07:10:42 -07:00
resources.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
screencasts.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
scripts.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
slices.md Docs improvements: content in Markdown, organization into subtemplates, fixed tests (#4401) 2016-12-15 21:05:44 -08:00
source_maps.md [CS2] Fix links in v2 docs (#4506) 2017-04-17 19:43:22 -07:00
splats.md 2.0.0-beta3 (#4594) 2017-06-30 09:58:05 -07:00
strings.md Improvements to strings and comments docs; could be back-ported to v1 docs 2016-12-18 15:13:54 -08:00
switch.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
tagged_template_literals.md Modernize various sections as relevant to v2; improve presentation of tables 2016-12-19 22:27:32 -08:00
test.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
try.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
unsupported.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
unsupported_get_set.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
unsupported_let_const.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
unsupported_named_functions.md [CS2] Docs updates (#4536) 2017-05-05 19:44:11 -07:00
usage.md [CS2] JSX documentation, Try CoffeeScript improvements (#4583) 2017-06-25 23:53:35 -07:00