Displaying 7 results from an estimated 7 matches for "ccomp".
Did you mean:
comp
2017 Nov 23
0
ccomp Composition and ggtern plot...
...s of compositional package can be used with ggtern
> by converting to data frame but I could do anything with c(ount)comp
> class. Ggplot/ggtern can not recognise comp and also can not be converted > to data frame. Is there any other way to do this?
As Jeff pointed out, the help page says ccomp creates a vector
or matrix. But it assigns a class of 'ccomp', and there is no
obvious way to coerce this directly to a data.frame for use with
ggplot (but I'm not very good with classes so I may be wrong).
However, it does appear to be just a matrix(or vector) with a
class added (I pr...
2004 Jul 17
2
[LLVMdev] Scheme compiler.
...)
>
> -Chris
Just to keep you informed. My small scheme compiler[1] of 1K lines is now
self applicable, with the types fixnum, symbols, strings, functions and
vectors (cons cells are seen as vectors of size 2).
You can for example do:
cat compile.ss|mzscheme --script compile.ss|llvm-as -o=ccomp.bc
echo '(display "hello")'|lli ccomp.bc|llvm-as -o=hello2.bc
But be warned, the resulting programs are painfully slow :). Next step is
to implement garbage collection for it, since it right now just joyfully
mallocs away :). (It actually runs out of memory if I try to compile
c...
2004 Jul 17
0
[LLVMdev] Scheme compiler.
...ines is now
> self applicable, with the types fixnum, symbols, strings, functions and
> vectors (cons cells are seen as vectors of size 2).
That is wonderful! Wow, you did this just ~1 month? :)
> You can for example do:
>
> cat compile.ss|mzscheme --script compile.ss|llvm-as -o=ccomp.bc
> echo '(display "hello")'|lli ccomp.bc|llvm-as -o=hello2.bc
You're right, it does work even :)
> But be warned, the resulting programs are painfully slow :). Next step is
> to implement garbage collection for it, since it right now just joyfully
> mallocs aw...
2017 Nov 22
0
ccomp Composition and ggtern plot...
I have no clue what this package is for, but reading the help page for the ccomp function tells you that it returns a numeric vector or matrix. How do YOU want to display information from this numeric vector? That will determine how you would put it into a data frame.
--
Sent from my phone. Please excuse my brevity.
On November 22, 2017 3:13:01 AM PST, Levent TERLEMEZ via R-h...
2004 Jun 14
0
[LLVMdev] Memory Alignment, Heap allocation.
On Mon, 14 Jun 2004, Tobias Nurmiranta wrote:
> A small question: How do I ensure memory alignment? I want all malloced
> memory, globals and functions to be 4-byte aligned. Does llvm have any
> ".align" keyword?
In the medium term, we plan to add alignment requirements to the
alloca/malloc instructions and to globals (vars/functions) but we do not
have this yet. Currently
2017 Nov 22
2
ccomp Composition and ggtern plot...
Dear Users,
I would like to use compositions package with ggplot/ggtern, other composition classes of compositional package can be used with ggtern by converting to data frame but I could do anything with c(ount)comp class. Ggplot/ggtern can not recognise comp and also can not be converted to data frame. Is there any other way to do this?
Thank you in advance,
Levent TERLEMEZ.
2004 Jun 14
4
[LLVMdev] Memory Alignment, Heap allocation.
Hi,
1.
A small question: How do I ensure memory alignment? I want all malloced
memory, globals and functions to be 4-byte aligned. Does llvm have any
".align" keyword?
I'm currently implementing a small scheme toy-compiler, and want to use
the lowest 2 bits for type tags. It's Currently 380 lines of
scheme-code[1], quite similar to the compiler in SICP[2], which I hope to
get