Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 3, 2023 02:49 pm GMT

Contribute to the Python-like Nim language

Progress

chores

fixes changelog

fixes booting warnings

create type bound operations for calls in the method dispatcher for ORC

fixes #21592; create type bound operations for calls in the method dispatcher for ORC

import std/optionstype Event* = object  code*: stringtype App* = ref object of RootObj  id*: stringmethod process*(self: App): Option[Event] {.base.} =  raise Exception.new_exception("not impl")

It now works.

Write an RFC for adding compiler support for object construction shorthand

compiler support for object construction shorthand

[PR] disable BareExcept warning in panics:on mode

disable BareExcept warning in panics:on mode

try:  raise newException(CatchableError, "catched")except:  discard

With --panics:on, the compiler does not give BareExcept warnings.

[PR] warn on overloaded =copy with refc

fixes #20846; fixes #21427; warn on overloaded =copy with refc

[PR] implement =dup hook eliminating wasMoved and =copy pairs

implement =dup hook eliminating wasMoved and =copy pairs

proc `=dup`(s: ref): ref =  dest[] = src  if src != nil: nimIncRef src

The =dup hook is for optimization. The compiler sometimes generates =wasMoved(x); =copy(x, y). But =wasMoved is unnecessary in this case since it is going to be rewritten for sure. It should be replaced by x = =dup(y) instead.

Weekly collection

https://forum.nim-lang.org/t/9908 (2/19)

https://forum.nim-lang.org/t/9940 (2/26)

https://forum.nim-lang.org/t/9970 (3/5)

https://forum.nim-lang.org/t/9989 (3/12)

https://forum.nim-lang.org/t/10024 (3/19)

https://forum.nim-lang.org/t/10040 (3/26)

Participating in contributions

Following The Roadmap 2023 for community building , you could join us in where we discuss how to build a community. We appreciate doable suggestions and helps, such as improving the workflow, implementing the roadmap, suggesting doable tasks, reviewing code from contributors. United we stand. We shall work together to make the community thrive.

Sponsorship

Many thanks to Yepoleb, lenis0012, pietroppeter, Clonkk, mode80, Phil, CxPlanner, shirleyquirk, elcritch, geotre, thinkwelltwd, xrfez, enthus1ast, piertoni, Dnanilem, gemath for sponsoring me on GitHub.


Original Link: https://dev.to/ringabout/contribute-to-the-python-like-nim-language-36b2

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To