Scala Library

Standard library for the SubScript extension of the Scala Programming Language

Лицензия

Лицензия

Категории

Категории

Scala Языки программирования
Группа

Группа

org.subscript-lang
Идентификатор

Идентификатор

scala-library
Последняя версия

Последняя версия

2.11.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Scala Library
Standard library for the SubScript extension of the Scala Programming Language
Ссылка на сайт

Ссылка на сайт

http://www.scala-lang.org/
Организация-разработчик

Организация-разработчик

Delftware Technology
Система контроля версий

Система контроля версий

https://github.com/AndreVanDelft/scala.git

Скачать scala-library

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.subscript-lang/scala-library/ -->
<dependency>
    <groupId>org.subscript-lang</groupId>
    <artifactId>scala-library</artifactId>
    <version>2.11.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.subscript-lang/scala-library/
implementation 'org.subscript-lang:scala-library:2.11.2'
// https://jarcasting.com/artifacts/org.subscript-lang/scala-library/
implementation ("org.subscript-lang:scala-library:2.11.2")
'org.subscript-lang:scala-library:jar:2.11.2'
<dependency org="org.subscript-lang" name="scala-library" rev="2.11.2">
  <artifact name="scala-library" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.subscript-lang', module='scala-library', version='2.11.2')
)
libraryDependencies += "org.subscript-lang" % "scala-library" % "2.11.2"
[org.subscript-lang/scala-library "2.11.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

This is the repository for the Scala Programming Language.

Also in this branch is the language extension named SubScript. For information about SubScript, you can visit the web site:

##SubScript Compiler issues The current SubScript compiler (a branch of scalac) is good enough to compile the given example programs, but there are some limitations and bugs:

  • Only language features used in the examples are present and tested. Other features, most notably communication, is TBD

  • here and there are not yet implicit values. Therefore you would need to write things like @{gui(there)}: instead of @gui

  • Local values and variables in scripts need both be typed and initialized. E.g., val b=true is not accepted yet; instead write val b:Boolean = true

  • The "?" syntax for actual output parameters, actual constrained parameters and actual adapting parameters are not yet completely handled. For the time being you may have to use alternative notations. E.g.,

?p           ==>   ActualOutputParameter     (p, (v:Int)=>p=v)
?p ?if(cond) ==>   ActualConstrainedParameter(p, (v:Int)=>p=v, (v:Int)=>cond)
??p          ==>   ActualAdaptingParameter   (_p)
Note the underscore in the latter line.
  • The compiler may crash on values in a script expression for which no implicit conversion to a script exist. This may for instance happen if you specify x in a script expression to denote an event that the x key is pressed, and if you forgot to provide an implicit script key(c:Char)

##Note on the repository layout Follows the file layout of the Scala repository. Two folders have been added for SubScript:

scala/
    src/                      All the source files of Scala.
        subscript/            The sources of the core SubScript library.
        subscript/examples    The sources of SubScript example applications

Note: the file subscript.swing.Scripts uses the SubScript syntax and can therefore not be compiled with the starr compiler; it needs to be compiled with the locker compiler or quick compiler.

SubScript examples are not built with the usual ant targets.

##Contributing to SubScript

Contributors are welcome. The official SubScript website is: www.subscript-lang.org.

As of writing there are no mailing lists, and bug and issue trackers.

Thank you!

The SubScript Team

Версии библиотеки

Версия
2.11.2
2.11.0