Comments (4)
I agree that moving the examples to a separate jar is a good idea and had been
planning to do it at some stage.
We will try to do it for 1.0.0.
BTW, what was the exact problem you were having? I would have thought that the
fact that the examples are in
org.kiama... packages would have meant that the class names could not clash
with names declared in user code.
Unless you are importing the example names for some reason, but then you know
that you are doing it. Can you
clarify this for me?
Original comment by inkytonik
on 16 Apr 2010 at 5:29
- Changed state: Accepted
- Added labels: Component-Example, Milestone-Release1.0
from kiama.
No real problem, it's just that there are a few places where there's
effectively a
flat namespace for classes (e.g. Ctrl-N in IDEA or the equivalent "Go to type"
in
Eclipse)
Original comment by alex%[email protected]
on 16 Apr 2010 at 5:44
from kiama.
Ah, right. That makes some sense. Thx.
Original comment by inkytonik
on 16 Apr 2010 at 5:46
from kiama.
revision d3217976bd: The examples are now packaged with the tests (which they
really are). This changes the
behaviour of the run command, since the library now has no main at all. Use
the "main" action to run examples;
it now uses the test classpath instead of the run one. Also, a side-effect of
this change is that the examples no
longer appear in the scaladoc for the library, which seems appropriate too, if
a bit less convenient.
Original comment by inkytonik
on 7 May 2010 at 5:23
- Changed state: Resolved
from kiama.
Related Issues (20)
- Rewriting dup doesn't work if a case class has an implicit parameter HOT 10
- Terminal echo is lost after exiting a REPL back to sbt HOT 2
- initTree should be idempotent HOT 13
- Named attributes HOT 3
- Create an Attribution trait HOT 5
- Support truncation metrics in the pretty printer module HOT 3
- Allow the pretty printing newline replacement document to be customised HOT 2
- hasBeenComputedAt should be reset when resetMemo has been called HOT 4
- Control pretty-printer stack usage HOT 3
- Strange behavior of breadthfirst strategy in Rewriter trait HOT 1
- Substitution in the example implementation of the lambda-calculus is wrong HOT 3
- Have version 1.5.3 for Scala 2.10 in Maven Central HOT 5
- ScalaJS support HOT 14
- Typo in comment for ParenPrettyPrinter.scala HOT 1
- Improve error message when dup fails HOT 1
- Rewriting: Rename query to command? HOT 1
- Add better support for type-unifying strategies
- ASL 2.0 HOT 11
- deepclone fails on Seq[] for Kiama 2? HOT 6
- PrettyPrinter introduces empty space on list() with empty prefix HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiama.