|
Parrot 6.3.0 "Black-cheeked Lovebird" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC Set by moderator on 15 April 2014. |
|||
|
00:06
benabik joined
00:51
rurban joined
00:58
FROGGS__ joined
01:51
rurban joined
02:00
FROGGS_ joined
02:15
rurban joined
02:49
rurban joined
03:50
rurban joined
04:52
rurban joined
05:55
rurban joined
06:45
FROGGS joined
06:55
rurban joined
07:56
rurban joined
08:04
basiliscos joined
08:57
rurban joined
09:47
MJaoune joined
|
|||
| MJaoune | Hi | 09:47 | |
| is there a place where to learn PASM? | |||
| FROGGS | hi | ||
| MJaoune | and can I find a reference for the parrot library? | 09:48 | |
| I mean a reference for its classes, functions, enums etc... | 09:51 | ||
| anyone here? no? | 09:56 | ||
| FROGGS | MJaoune: sorry, $dayjob... | 09:57 | |
| have you skimmed aroundhere? docs.parrot.org/parrot/latest/html/ | |||
| MJaoune | yeah, i couldn't find a reference for the functions | ||
| FROGGS | like this: docs.parrot.org/parrot/latest/html/pmc.html | ||
| MJaoune | and is there a place where i can learn PASM? | ||
|
09:57
rurban joined
|
|||
| FROGGS | MJaoune: ask rurban, I am just a guest here also :o) | 09:58 | |
| MJaoune | rurban: hi | ||
| i will be back later, I have a few things to do anyways | 09:59 | ||
| bye | |||
|
10:58
rurban joined
12:02
rurban joined
12:51
MJaoune joined
|
|||
| MJaoune | hi | 12:51 | |
| are they any tutorials for parrot assembly (PASM)? | 12:52 | ||
| or PIR | |||
| ? | |||
|
12:53
rurban joined
|
|||
| MJaoune | rurban: hi | 12:54 | |
| Coke | MJaoune: can I ask why you want to use PASM? | 12:55 | |
| We tend to stir folks toward PIR or one of the mini-hlls that ships with parrot. | |||
| not stir, *steer*, whoops | |||
| MJaoune | because I have experience in x86 intel assembly | 12:56 | |
| and it might be easier to use PASM than to learn PIR | |||
| Coke: can I for example, store the PIR code or PASM code into a buffer and then use Parrot library to compile it into machine code? | 12:59 | ||
| Coke: I mean is there a function for that? | |||
| rurban_ | MJaoune: PASM is the same as PIR, just a little bit more low-level | 13:07 | |
| MJaoune | rurban_: aha, ok | ||
| rurban_ | learn PIR instead, we will remove PASM support soon | ||
| It's basically the same. just compare the existing examples | |||
| MJaoune | rurban_: alright, where can i learn PIR then? | ||
| rurban_: if there is a pdf of something that would be great | 13:08 | ||
| rurban_ | there's a pir book in the repo, and it is documented | ||
| docs/book/pir/ | |||
| MJaoune | rurban_: aha thanks | 13:09 | |
| rurban_ | Docs and the PIR book are also here: docs.parrot.org/parrot/latest/html/ | ||
| MJaoune | rurban_: can I use the parrot library to change PIR into machine code? | 13:10 | |
| rurban_: I mean without the need of parrot to exist as an executable | |||
| rurban | not yet. JIT support was removed earlier, but I'm working on a new jit | 13:11 | |
| and dumping to exec support which only worked on intel was also removed earlier (but should be addable also) | 13:12 | ||
| Sorry, my other machine just froze (qemu quirks) | 13:13 | ||
| MJaoune | rurban: ah, i see, can you link a reference to the parrot library? | 13:14 | |
| rurban: I mean classes, functions etc.. | |||
| rurban | In general compared to assembler. PIR is a good assembler, and PASM is asm without macros | ||
| we have ops (vtable methods and slow methods) and classes (pmc) | 13:15 | ||
| that's all on the docs website | |||
| classes (PMCs) => docs.parrot.org/parrot/latest/html/pmc.html | 13:16 | ||
| those are the builtin ones | |||
| and builtin ops: docs.parrot.org/parrot/latest/html/ops.html | |||
| but contrary to JBM or .NET you can run-time extend both. classes and methods | 13:17 | ||
| oops, JVM | |||
| just read through the whole docs, should be 2 hrs | 13:18 | ||
| MJaoune | rurban: so for example, if I want to create a simple language that is translated into PIR, can I store the translation into a buffer and use parrot library to turn it into machine code or should I save it as a file and then use parrot executable to translate it? | 13:19 | |
| rurban | if you translate your lang to PIR, just use the C API to run the PIR from libparrot | ||
| and you can create your own single exe which runs the whole thing (translate and run) | 13:20 | ||
| there are several of such examples. most langs do it that way | |||
| MJaoune | rurban: aha I see | 13:21 | |
| rurban | see the links at parrot.org/languages | ||
| MJaoune | saw them | ||
| rurban | But most are just toy implementations of the languages | 13:22 | |
| the only serious one is rakudo (perl6) | 13:23 | ||
| MJaoune | rurban: aha, i have to go | ||
| rurban: thanks for the help | |||
| rurban: u made everything clear | |||
| rurban: bye | |||
| rurban | bye | 13:24 | |
|
13:31
rurban_ joined
13:39
bluescreen joined
14:01
rurban joined
14:05
rurban1 joined
14:51
bluescreen_ joined
14:52
bluescreen__ joined
14:55
C joined
|
|||
| C | where can i find the C API reference? | 14:55 | |
| can't find it in the documentation | 14:56 | ||
| is there a doxygen or something? | |||
| Coke | docs.parrot.org/parrot/latest/html/...g.pod.html | 14:59 | |
| (which is a formatted version of the POD in the repo under docs/pdds... | |||
| C | what about this? github.com/parrot/parrot/blob/mast...ed_new.pod | ||
| Coke | excellent question. I have no idea which is the better one to look at. | 15:00 | |
| apologies. | |||
| C | the new one is better imo | ||
| i will the new one | |||
| thanks | |||
|
16:01
FROGGS joined,
basiliscos joined
16:49
rurban joined
16:50
rurban1 joined
17:36
rurban joined
19:07
TonyC joined
|
|||
| rurban_ | both extending docs are good and too old. | 19:42 | |
| embed_new.pod and looking at the various tests and samples should be fine | 19:43 | ||
|
19:58
davidfetter joined
21:22
rurban joined
22:07
particle joined
22:36
rurban joined
22:59
cooper joined
|
|||