tessl install tessl/npm-coffeescript@2.7.0A programming language that compiles into JavaScript, offering more concise and readable syntax while maintaining full JavaScript compatibility.
Agent Success
Agent success rate when using this tile
77%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
76%
A command-line utility that automates the compilation of CoffeeScript files using various build modes.
src/app.coffee, compiles it to dist/app.js using the compilation API @testsrc/ containing multiple .coffee files, compiles all of them to a dist/ directory preserving the file structure @test.js, .txt) during directory compilation @test@generates
/**
* Compiles a single CoffeeScript file to JavaScript
*
* @param {string} inputPath - Path to the input .coffee file
* @param {string} outputPath - Path to the output .js file
* @param {object} options - Compilation options
* @param {boolean} options.bare - Compile without top-level function wrapper (default: true)
* @returns {Promise<void>}
*/
async function compileFile(inputPath, outputPath, options = {}) {
// IMPLEMENTATION HERE
}
/**
* Compiles all CoffeeScript files in a directory
*
* @param {string} inputDir - Path to the input directory
* @param {string} outputDir - Path to the output directory
* @param {object} options - Compilation options
* @param {boolean} options.bare - Compile without top-level function wrapper (default: true)
* @returns {Promise<number>} Number of files compiled
*/
async function compileDirectory(inputDir, outputDir, options = {}) {
// IMPLEMENTATION HERE
}
/**
* Compiles CoffeeScript source and returns JavaScript as string
*
* @param {string} filePath - Path to the .coffee file
* @param {object} options - Compilation options
* @param {boolean} options.bare - Compile without top-level function wrapper (default: true)
* @returns {Promise<string>} Compiled JavaScript code
*/
async function printCompiled(filePath, options = {}) {
// IMPLEMENTATION HERE
}
module.exports = {
compileFile,
compileDirectory,
printCompiled
};Provides CoffeeScript compilation support.
@satisfied-by