Sergey Yelin

Results 10 comments of Sergey Yelin

I've been started update it some time ago (not completed yet) with support of Erlang versions here (https://github.com/kpy3/intellij-erlang/tree/rework-bif-table-support) and realized what it should have a limited subset with BIFs suitable...

Please, please, please don't stick with any external decimal implementation in epgsql, because it can be unacceptable for some projects. For example our project have switched from erlang-decimal to our...

We've found a number of issues (including performance issues) in erlang-decimal, so finally decided to make own function limited decimal implementation, you may found it here: https://github.com/egobrain/decimal

It also doesn't work for IDEA 🥺

Try this: getdocs: ``` #!/usr/bin/env escript %% -*- erlang -*- %%! -start_epmd false -include_lib("kernel/include/eep48.hrl"). main([Mod,Fun,Arity]) -> {ok, Docs} = code:get_doc(list_to_existing_atom(Mod)), Key ={function,list_to_existing_atom(Fun),list_to_integer(Arity)}, {Key,_Location,FunSig,FunDocMap,Sig} = lists:keyfind(Key,1,Docs#docs_v1.docs), erlang:display({fun_sig, FunSig}), erlang:display({fun_doc_raw, maps:get(, FunDocMap)}),...

> @kpy3 or @kvakvs need yours help to go further It looks like an iolist, so slightly modified script can output readable text: ``` -module(doc_doc). -author("ignatov"). %% API -export([doc/0]). doc()...

Hmmm iolist_to_binary seems unneeded and can be removed: ``` -module(doc_doc). -author("ignatov"). %% API -export([doc/0]). doc() -> Module = ftp, Function = quote, Arity = 2, {ok, Doc} = code:get_doc(Module), Config...

+1 for stack support!

Another quick solution until fix committed is to define environment variable CXX with llvm 16, as mentioned earlier. For brew'ed llvm define CXX to `/opt/homebrew/opt/llvm@16/bin/clang++`

Looks like adding `-DZIG_STATIC_ZLIB=ON -DZIG_STATIC_ZSTD=ON` help build latest master (ca012e5b69) for me too, full command: ``` cmake .. -DZIG_STATIC_LLVM=ON -DCMAKE_SYSTEM_PREFIX_PATH="$(brew --prefix zstd);$(brew --prefix llvm@18)" -DCMAKE_BUILD_TYPE=Release -DZIG_STATIC_ZLIB=ON -DZIG_STATIC_ZSTD=ON ```