--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/3bba4625-ebe4-4b54-8e21-97960e5d25d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/etPan.556443ee.79a1deaa.4c8c%40juliens-mbp-2.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CAOJRyvrcNGE-e9WK_GQvUMqkGaqPNTgwj5c6G29ko%2BV5e3w3kA%40mail.gmail.com.
Oh and since there is no implicit type conversion what should I do?
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/e6a90e74-1e4d-4aca-84a2-c8eae429ce59%40googlegroups.com.
For what specific case?
public void foo(float a){
...
}
foo(1);
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/f8a7d09a-6563-40fc-b7e9-9cd78257f564%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CAP7PoCf9Cq1i-_JgmE_86uisebvg49v%3Dgd6EN5wPmu8R3VTa0Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CAP7PoCf9Cq1i-_JgmE_86uisebvg49v%3Dgd6EN5wPmu8R3VTa0Q%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "ceylon-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ceylon-dev/q8Oo_k0zBHI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CA%2BH-X4_ZaL7j07PMAW-fHngrCbuY0_2a8e6xGERJPrBUDONT1A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CAF7ZTxJs2jSevA0Yy8qMVg59FQhRWZmuO78FSSk2Hk2WVzKR9w%40mail.gmail.com.
Expressions? Well, that doesn't work right now..
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/017eddf4-86a3-46e1-a52b-39bf1e18ee51%40googlegroups.com.
OK thanks. I think I'll start with the IDE now. I would like to know how I should be implementing the converter in the IDE.
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/4c5f1dde-a1e3-4ca5-b139-41a754a0fa06%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/b86fd886-2a42-4356-8661-1b4d01ee1de4%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/7c992fa8-e036-4121-90bf-567c94df51ae%40googlegroups.com.
Call me biased, but I suggest using https://github.com/ceylon/ceylon.formatter/ :)
It’s even integrated into the IDE! FormatAction or something, can’t look it up right now sorry
import org.antlr.runtime {
ANTLRStringStream,
CommonTokenStream
}
import com.redhat.ceylon.compiler.typechecker.parser {
CeylonLexer,
CeylonParser
}
import ceylon.formatter {
format
}
value tokens = CommonTokenStream(CeylonLexer(ANTLRStringStream(code + " ")))
;
format {
node = CeylonParser(tokens); // the space seems to be required sometimes
writer = someWriter; // defaults to stdout
tokens = tokens; // in case you want to keep comments; however, this also means existing line breaks in your code will mostly be kept, which may or may not be the best thing
};
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/9d5ba471-fe48-4f41-bbf7-93e96011d86c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CAKU9E9ubK_pfcXOcXnwqzJZbDqj5DxiB49uqVCY1b6%2B%2BOkb6Lg%40mail.gmail.com.
I think his code is written in Java for now. Perhaps now would be a good time to convert it to Ceylon?
So what would be the alternative to arrays in Ceylon?
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/68d8c21a-0ae9-4a02-8907-312e8d6d794d%40googlegroups.com.
Well, I had figured that out. But for the converter, if I just have a normal java array then what should I do?
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/3635439b-b654-4427-a37d-8be198a92d4b%40googlegroups.com.
int[] a ={3, 1, 2};
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/9323c1d3-1f3b-4f4a-a927-f98bdd84f923%40googlegroups.com.
So how should I handle expressions and code snippets instead of full programs? That doesn't work right now.
As the GSoC mid term evaluations are approaching, I would like to know about the progress of the project and also how I should go about it from here.Also, the converter right now handles only full programs and not expressions. So I would like to know how to go about this.
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/28a39415-b741-4a38-8243-1d2d39d132a7%40googlegroups.com.
Things that don't work right now/limitations are:
arrays declarations that are like {1, 2, 3} etc.
constructors
type casting
generic methods
bounded type parameters
overloading
do while
Anonymous classes
Annotations (not sure what to do with them)
So, now I have conversion in the IDE working and I have been working on fixing bugs in the converter itself. So is there any other functionality to be added in the IDE related to the converter?Oh, and can I use the converter as a Ceylon plugin? I am assuming I cannot because its in java right now...
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/1de2f89c-51ad-4962-8f5f-b8728710a2f2%40googlegroups.com.
Ok thanks. So now I have done something similar to the sample plugin in ceylon-dist
. So how do I take arguments while using it as a plugin?
I just used ant. So right now I have a Ceylon project that just calls my java code. So I think with this I might be able to get formatting working (not in eclipse). I was also wondering how I should use this version in the eclipse IDE (Because I had used a jar previously).
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/6955524a-baf5-4a54-88a6-199bb66dc413%40googlegroups.com.