https://github.com/learningobjectsinc/casal
An open-source library for doing CASA things
https://github.com/learningobjectsinc/casal
Last synced: 9 months ago
JSON representation
An open-source library for doing CASA things
- Host: GitHub
- URL: https://github.com/learningobjectsinc/casal
- Owner: learningobjectsinc
- License: mit
- Created: 2015-05-03T20:36:25.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-08T04:18:58.000Z (about 11 years ago)
- Last Synced: 2025-02-19T12:55:01.342Z (over 1 year ago)
- Language: Scala
- Size: 98.6 KB
- Stars: 1
- Watchers: 32
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# casal
[](https://travis-ci.org/learningobjectsinc/casal)
###Makes life with CASA easier
``` scala
val json = Source.fromURL("http://casa.com/out.payloads").mkString
val entities = parse(json).extract[List[Entity]]
val translated = entities.map(Casa.Transforms.ADJINTRANSLATE)
val squashed = translated.map(Casa.Transforms.ADJINSQUASH)
```
###Include in your project:
If you're using scala/sbt, you can include this project with:
``` scala
resolvers += "Learning Objects Bintray Repo" at "https://dl.bintray.com/learningobjectsinc/repo"
libraryDependencies += "com.learningobjects" %% "casal" % "1.0.0"
```
If you're using maven/java, you can include casal like:
``` xml
learningobjects-bintray
https://dl.bintray.com/learningobjectsinc/repo
false
...
com.learningobjects
casal_2.11
1.0.0
...
```
###To install locally
git clone git@github.com:learningobjectsinc/casal.git
cd casal
sbt compile
sbt publish #installs casal to ~/.m2/