Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ponylang/ponyc
Pony is an open-source, actor-model, capabilities-secure, high performance programming language
https://github.com/ponylang/ponyc
Previously, embedded fields had to be assigned to by a constructor
expression. We now allow any...
Describing variables lifetime can help optimise the program (e.g. in
register allocation).
Previously, invalid uses of control flow statements were only checked
on the AST node for the s...
4eec8a9b0d9936b2a0249bd17fd7a2caac6aaa9c authored over 8 years ago
13182670bbc32c826dfd1f08f62a4405888b73a4 authored over 8 years ago
Reading LLVM IR processed by MergeFunctions can get really tedious.
b6ed82fc6cd3e1aa5b03d2b2af22a20ff4af8ab1 authored over 8 years agoReverts #1037
See #1045
5c49115c102c7165ef825794279e80600de297a7 authored over 8 years ago
Previously, the descriptor wasn't being set correctly. It was still
the type ID, not the pointe...
Follows bbacbe1 (Set LLVM parameter attributes according to refcaps).
- Set `tag` parameters ...
a3f97d06287efab9020049faea1157290f3fbb32 authored over 8 years agoThe UTF-8 encoder has been extracted and refactored from String.from_utf32 into a private primitive
28864738afe8df07038397cf09c1ea1a9ab82048 authored over 8 years agoAdd http status codes primitives.
6d6bc143b2718f79ee62d7c69eb54575de07ccf1 authored over 8 years ago5c92dcd8989e0f584a34395e38e63488a7437b65 authored over 8 years ago
3b0edf31d492978f59475124bfd5fc73cc6ce5a2 authored over 8 years ago
Adding attributes allow the optimiser to better reason about the
program.
- An iso parameter gets the noalias attribute. This is safe because
LLVM pointer aliasing onl...
* Determine gcc version to call based on LLVM target triple. The
pattern seems to be that the...
- Use getelementptr instead of ptrtoint/inttoptr for pointer arithmetic
to keep aliasing info...
cdc3eaf3994092c7199d872f70b05e2e019359f0 authored over 8 years ago
The ponyc compiler produces a non-specific 'internal
error not reported' message when compiling...
Rename standard library filenames to use official file naming scheme.
e5e388df132fdff91d4e6afb8d8e66be175fa051 authored over 8 years ago
In `regex.pony` line 132, we rely on the `len` variable when
`PCRE2_ERROR_NOMEMORY` has been en...
ba00ebbf67c5643c3b5b925a865ea5a650e5adb4 authored over 8 years ago
The documentation for the `net` package was sparse. This commit adds
package-level documenation...
5f061fa201b47dc6a767d3bbe8a8999ada66993e authored over 8 years ago
close #1025
cd6df323c8e5b0a3742fd4ecb0678194c7416f9a authored over 8 years agodc5dc0422ab741658424f9f351b7fb495e781c9f authored over 8 years ago
Map.upsert() combines a provided value with the current value for the provided key
using the pr...
* Make JSON pretty printing optional
Pretty printing JSON creates a slightly larger data stru...
6b0461b4d97f75148aeaec3fe6cd622f6db8eba4 authored over 8 years agofb8b12b7b0677d04f6bb43eeed8129b2cc85dae2 authored over 8 years ago
d65c22629fdf7d9a49e2d416dec8b2908079488a authored over 8 years ago
* Allow for reserving of chunks in WriteBuffer
When using the WriteBuffer, I find myself know...
9f0887f611b7b4cf57de4c50a056b7d76371e1b1 authored over 8 years agoThis is advised in LLVM's "Performance tips for frontend authors".
Functions called from the ...
4e0a7737816ea674ec2bfd3bb125538afc6cd766 authored over 8 years ago
Many programs (like cat) cannot handle non-blocking file descriptors.
This was causing a sporad...
74179719ff558520350d39666d61805a0a2d73ae authored over 8 years ago
It's possible for a structural equality pattern to not be a nominal
type. When it isn't, it als...
Set SIG_IGN on SIGPIPE. Previously, individual sockets were marked
with SO_NOSIGPIPE on OSX and...
d23537d79ec089a64682f82b9288fd77da396512 authored over 8 years ago
dde2fd53a89c82c1bc6cb8c3c1ca8c49f418ed16 authored over 8 years ago
The LLVM sqrt intrinsic has undefined behaviour for negative arguments.
We now check the argume...
ab4aac64f738f61281e3321feed7ad43fce03423 authored over 8 years ago
7a13dd6e8f29dfaa396e7eaf030bfa0c75fc9d31 authored over 8 years ago
A _final field is now allowed. A _final method must still be a fun
rather than a new or a be, a...
Previously, incompleteness checks were applied in call.c and were
inconsistent. Now, incomplete...
A structural equality pattern was being assigned the type of the
parameter instead of the recei...
A false assumption was made that a mutable remote object must be
known. The counter-example is ...
In expr_param, we can always set the type of the param AST, even
when the initialiser is invalid.
The pass_syntax compiler pass was skipping lambda functions because
the child nodes of the lamb...
363940f064a4cdef89e19f41647a93adfecf0f1b authored over 8 years ago
6c6647d635540fc2cd7d48d4cc6f3c7cefa024b5 authored over 8 years ago
d8d9f756e6c8a98725ead44f9ec4c2d88a8b36e8 authored over 8 years ago
* Set the descriptor correctly for embedded fields
* Can't use a struct as a type argument
...
a64cc3e6b7b3a6c86f74df3e4c575319b22fde01 authored over 8 years ago* Fix lstrip, rstrip, and split so they don't call pony_throw
* Fix array.contains() so it do...
87422c4187652a53bde8180b18dbb131e280b009 authored over 8 years agoTest addc() on various bit widths as requested for #943.
Resolves #943.
149c161a9420cce42e3ab89453b075b6adfbb524 authored over 8 years ago6e98a136fbec247841675a9092a63dea73b0e9df authored over 8 years ago
Add tests for String.read_int method
Clean up condition because issue #220 is fixed
Fixes ...
f4ad64e760d5eb6839e5407c8e98f8295c7f26f1 authored over 8 years ago
There was no docstring for the time package, so I added one with a
brief description of what th...
* Added minimal tests for examples.
Currently the examples are not included in the CI process...
fd5ebc12eb0a072ce3bcb7f0ee435fce91786fd7 authored over 8 years agoThis commit enables running the normal ponyc automated tests (that run for linux/osx) on every c...
662183366eb2c4176318f174cf2de1f6ae86034d authored over 8 years agob357d2d83c08e6e39661132507c76b1925863ba3 authored over 8 years ago
* Use geometric growth when reserving space for new length
* Fix edge-case concerns
* Clar...
45944d8e009a54bcb8fd649d523ac34eac03557c authored over 8 years ago
Rather than rely on Pointer[A]._realloc, Array[A] now grows its
allocated space geometrically. ...
Create on an actor has to be a constructor. Aka
'new create' not 'be create'.
Handle the None case
df56e8332c3e70d1e619a6898994f1cff1170d01 authored over 8 years ago`ln` on mac does not support the -r option.
d898ffbd78a9b01358771744142d183b71c59d2f authored over 8 years ago
Was broken a while back. Reading a field on a class through
an iso (like Inner here on Outer) r...
switch to relative link for /bin/ponyc, /lib/libponyrt.a /lib/libponyc.a
and /include/pony.h. E...
Such intrinsics must correctly generate i1, not i8, now that Bool
is encoded as i8. Arguments p...
We previously disabled Travis CI Linux builds for most versions of LLVM, because LLVM turned off...
ff364771a2ca55f1ad8c6c7a0255c317d3928545 authored over 8 years ago
Remote immutable objects used to be traced in their entirety. Their
heap size was added to the ...
Closes #940.
38bd4b35b9c34e9d3ed8c7850d584c77f3de8ec1 authored over 8 years ago
In codegen_pushscope, use the existing frame->di_file rather than
trying to create a new one, a...
LLVM optimises calls to its intrinsics better than calls to standard
libc functions.
No functional changes. This commit optimises a loop and fixes
indentation issues.
This adds the type of build after the version number when running ponyc -v.
e.g.
0.2.1-944...
e992d202d551ec3d64d07ddd1281768fd65b73df authored over 8 years ago* Fix compiler bug where 'as' causes seg fault #929
Using the 'as' operator with a lambda lit...
3798a1fcc31e459ac0ae61937a0d4bc1b8b00a46 authored over 8 years agoa9585df332bba257773026215a76dbeef08a6994 authored over 8 years ago
* Add producer-consumer example
This is mostly danielaRiesgo work with a couple small
change...
b7e174781cb9b83b3e8e49508183f3eebe1c5277 authored over 8 years ago
03ff95b77f56cb0f37d0e0b9421ca96353aeab3b authored over 8 years ago
a4a6c1e665824431dd7ee38e090ec24c9dc3c462 authored over 8 years ago
VS2015 is mangling the function names in serialise.c, which causes link errors when ponyc is lin...
ef424feda26013d52330367a881af20a91963002 authored over 8 years ago9bfe829afd335c523711577cd36adb36d45eb176 authored over 8 years ago
Resolves #905.
1ba877dfe4a0a3467043f963aaacb2ed8debda01 authored over 8 years ago
Calls to pony_alloc are replaced by calls to pony_alloc_small/large
when possible. No-op alloca...
In HTTP 1.1, all connections are considered persistent unless declared otherwise.
ab22cf13a8289307499444172ad27e4f9ca8881d authored over 8 years ago
This pass merges successive reallocations of the same variable in a
single allocation.
This pass needs to run multiple times during optimisation to exploit the
transformations realis...
61118fe92634ceb8a96af7dd9a3240f22a622370 authored over 8 years ago
We can restore the other linux builds when/if llvm.org/apt is back.
bdcfdaba6b01a5d5750c98912e3b6c9835b09e36 authored over 8 years ago
This stops some more exotic forms of type alias recursion (such as
when a type aliases a union ...
Call notifier when expect is called
aafebac938273d4786c02dfb2ba9ec7a164675e7 authored over 8 years ago
TCPNotify has a method you can override to change
expect value when expect is called, however,
p...
98bdb41c145779f5fe110a230ba43ae178f5a84e authored over 8 years ago
A Dispatch function has a pony_ctx_t in its parameters. This
optimisation pass replaces pony_ct...
The compiler crashes while generating the header for the C library.
Particularly, the compiler ...
This avoids redundant calls in generated code after inlining. pony_ctx
always returns the same ...
Previously the lexer accepted `7___4_9__.6_` as a numeric literal. This
change reports an error...
ISize is 32 bits only on ILP32.
97eb761c78b6c03f3a21ffb75230bf7e17a1a748 authored over 8 years ago
In generated documentation, replace the use of hygienic, generated
names for anonymous function...
d3b568daae4acedaebd489779fb794353f4ec782 authored over 8 years ago