by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Marius Wachtler
@undingen
@vinzenz Hi, could you please take a look at my encoding support patch vinzenz/libpypa#31 when you find time. Thanks :-)
Samuel Marks
@SamuelMarks

Looks like an interesting project. How do I build it?

I've tried:

$ cd libpypa && mkdir build && cd $_ && cmake .. -G 'Unix Makefiles' && make

But that didn't give me the parser-test binary for experimenting with (as per your README usage).

Marius Wachtler
@undingen
hi
Samuel Marks
@SamuelMarks
Hi
Marius Wachtler
@undingen
I think it's inside the src directory inside your build dir
Samuel Marks
@SamuelMarks
I don't see any binaries there...
Marius Wachtler
@undingen
I'm using ninja but I don't think that it should make a difference:
$ ninja parser-test
$ ll src/parser-test
8472312 Jul  6 16:31 src/parser-test*
SamuelMarks @SamuelMarks is downloading the latest Qt + Qt Creator to give it a go from that
Marius Wachtler
@undingen
I think the problem is that src/parser-test is not included in the default build targets. You have to explicitly build it you want it. So make parser-test should work for you.
Samuel Marks
@SamuelMarks
Perfect, thanks
Marius Wachtler
@undingen
:-)
Samuel Marks
@SamuelMarks
I'll send you through a PR :)
Marius Wachtler
@undingen
:-). But you will probably have to wait a little bit because I don't have commit rights. I just contributed some patches, vinzenz is the main developer of the libpypa project. He reviews the PRs :+1:
Samuel Marks
@SamuelMarks
nw, my changes are extremely minor :P
Rahuλ Dé
@lispyclouds
Hi all, I have a project at https://github.com/rahul080327/medusa which transpiles python to optimized dart and uses the fast Dart VM to achieve big speed ups compared to CPython. I came across libpypa and am trying to use this to parse the python code instead of the python ast module to remove any python dependency. I wanted to know how do I write a AST walker using libpypa? Is there some class I can inherit and override functions?
Stephan Vedder
@feliwir
hey, how feature complete is libpypa? And what about perfomance?
Stephan Vedder
@feliwir
also what are all the python files in the repo doing :D
Stephan Vedder
@feliwir
Stephan Vedder
@feliwir
@vinzenz is this channel still in use?
Harshit Verma
@hv7214
Anyone active in the channel? Can anyone tell how to setuo libpypa.
*setup