aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* simple integration with jlineliu fengyun2016-04-051-1/+1
|
* fix command line processing errorliu fengyun2016-03-151-2/+2
|
* Fix `bin/dotc` checkjar of wrong packageFelix Mulder2016-03-011-1/+1
|
* Add a `dotty-interfaces` packageGuillaume Martres2016-02-281-7/+11
| | | | | | | | | | | | | | | | | | | | | | We introduce a new entry point for the compiler in `dotty.tools.dotc.Driver`: ``` def process(args: Array[String], simple: interfaces.SimpleReporter, callback: interfaces.CompilerCallback): interfaces.ReporterResult ``` Except for `args` which is just an array, the argument types and return type of this method are Java interfaces defined in a new package called `dotty-interfaces` which has a stable ABI. This means that you can programmatically run a compiler with a custom reporter and callbacks without having to recompile it against every version of dotty: you only need to have `dotty-interfaces` present at compile-time and call the `process` method using Java reflection. See `test/test/InterfaceEntryPointTest.scala` for a concrete example. This design is based on discussions with the IntelliJ IDEA Scala plugin team. Thanks to Nikolay Tropin for the discussions and his PR proposal (see #1011).
* bin/dotc: fix "-d" argumentGuillaume Martres2016-01-041-2/+2
| | | | | It's already used to specify an output folder, don't try to interpret it as a shortcut for -debug
* Fix bug in dotc script.Dmitry Petrashko2015-10-231-1/+1
| | | | Used to always use bootstrapped version
* Quick&dirty bootstrapDmitry Petrashko2015-10-221-3/+13
| | | | dot script now has -bootstrapped option that will use dotty-compiled-by-dotty.
* bin/dotc: add an option to run -tasty.Dmitry Petrashko2015-09-141-1/+2
| | | | @vladimirNik, should simplify your life
* Closes 703Alexander Myltsev2015-07-091-4/+23
| | | | | - Fix typo in JLINE_JAR - Implement proper Java launch in Cygwin
* Support rebuilding tests in dotc, be smart about sbt incremental compilation.Dmitry Petrashko2015-05-271-3/+4
|
* Rebuild dotc if new *.scala files are found in `dotty/src`Dmitry Petrashko2015-05-271-0/+9
|
* dotc: Get versions of all dependencies from Build.scalaDmitry Petrashko2015-05-041-13/+21
|
* Fix quadratic running type of bin/dotc bash script.Dmitry Petrashko2015-04-231-3/+3
| | | | See https://github.com/scala/scala/pull/4465 for details.
* Update version of scalac-compiler fork.Dmitry Petrashko2015-04-161-5/+5
| | | | | | | This update allows to have non-static lambdas. It doesn't mean that we should emit such, as they are potential memory leak. See #480 Fixes #470
* Update dotc script to use scalac 2.11.5-20150402-193021-0c75410da3Dmitry Petrashko2015-04-041-1/+1
|
* Update version of scalac fork.Dmitry Petrashko2015-03-111-1/+1
| | | | | Includes fixed for emitting string concatenation if string originates from an array. Eg `"hello " + Array("world")(0)`
* Add dotty repl & type stealerDmitry Petrashko2015-02-171-9/+16
| | | | | | | | | | Dotty requires a mangled bootclasspath to start. It means that `console` mode of sbt doesn't work for us. At least I wasn't able to make sbt fork in console, so instead I've added a Scala-repl into dotty itself :-) It would be good to make it use dotty one day when we have a backend :-)
* unset CDPATH in bin/dotc to make ( cd && pwd ) work correctlyOndrej Lhotak2015-01-081-1/+1
| | | | | | | | When CDPATH is set, cd echoes the directory that it is switching to. The ( cd && pwd ) pattern then prints the directory twice, causing a mangled path. See https://bosker.wordpress.com/2012/02/12/bash-scripters-beware-of-the-cdpath/
* Update version of scalac forkDmitry Petrashko2014-12-161-1/+1
|
* Modify runner script to include modified scalac on class path.Dmitry Petrashko2014-12-161-3/+10
|
* Add option to optimize the JVM for short-runnning applicationsGuillaume Martres2014-11-171-0/+3
| | | | | | | | | | Ideally, dotc should reuse a resident compiler and we should not fork sbt for every task. Until this happens, this option is useful for development. Fixes #222. Usage: $ sbt -DOshort="" $ ./bin/dotc -Oshort foo.scala
* Use the final scala 2.11.George Leontiev2014-06-231-2/+3
|
* Bringing back dotc script that was accidentely deleted.Dmitry Petrashko2014-03-071-0/+232
|
* Performance improvement: Avoid unncecessary allocations of ListBufferMartin Odersky2014-02-261-232/+0
| | | | There were a lot in StoreReporter, as we are creating about 0.5M new ones per self-compile.
* Script for running compiler outside sbtDmitry Petrashko2014-02-201-0/+232