by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 09 09:25
    akovari edited #8
  • Jul 09 09:15
    akovari edited #8
  • Jul 09 09:12

    akovari on master

    #8 optimizations: avoid using j… minor tweaks (compare)

  • Jul 07 18:44
    akovari closed #62
  • Jul 07 18:44
    akovari commented #62
  • Jul 07 18:23

    akovari on master

    #62 Rework context managers wit… (compare)

  • Jul 07 17:10

    akovari on master

    #62 Rework context managers wit… (compare)

  • Jul 04 14:51

    akovari on master

    updated readme (compare)

  • Jul 04 13:57

    akovari on master

    adding docker build badge (compare)

  • Jul 04 13:55

    akovari on master

    moving docker build to dockerhub (compare)

  • Jul 03 14:33

    akovari on master

    updated docker action (compare)

  • Jul 03 14:28

    github-actions[bot] on 0.8.0-3

    (compare)

  • Jul 03 13:50

    akovari on master

    IO module (compare)

  • Jul 02 14:39
    akovari edited #63
  • Jul 02 14:38
    akovari milestoned #63
  • Jul 02 14:38
    akovari labeled #63
  • Jul 02 14:38
    akovari assigned #63
  • Jul 02 14:38
    akovari opened #63
  • Jun 29 11:36
    akovari milestoned #62
  • Jun 29 11:36
    akovari labeled #62
Fedor Gavrilov
@kurobako
on failed, you have to .abort()
then, optimisation: instead of creating fresh new transaction for another attempt, you can .reset() after abort and try again with the old one
btw, I just run TransactionalMemoryTest with huge number of transactions and it failed for me, so I will have to have a good careful look at java part too
Adam Kovari
@akovari
ouch
Fedor Gavrilov
@kurobako
yeah :)
Adam Kovari
@akovari
good luck :)
Fedor Gavrilov
@kurobako
well, I rewrote Seq several times over, nothing new for me
Adam Kovari
@akovari
well
Adam Kovari
@akovari
@kurobako it works now!
I'm going to merge the stm branch to the master, and continue from there
next I'll need to adapt with expression to other things, like files
Adam Kovari
@akovari
2020-06-17.png
first steps for the intellij plugin!
Fedor Gavrilov
@kurobako
that's great!
I'll start the great purge of STM then
want to have it really reliable
Adam Kovari
@akovari
Have fun!
Adam Kovari
@akovari
@/all the first version of IDEA plugin has been approved! Please try at https://plugins.jetbrains.com/plugin/14536-yatta-language
Fedor Gavrilov
@kurobako
wow! noice!
Adam Kovari
@akovari
not perfect, but at least editing yatta files in the project will be nicer
Fedor Gavrilov
@kurobako
nothing is perfect yet :)
Adam Kovari
@akovari
indeed :)
Adam Kovari
@akovari
with expression documented in https://yatta-lang.org/docs/resource-management/ let me know if anything is unclear please
Adam Kovari
@akovari
@kurobako it seems like VarHandle is still used by the filtersWrite function and mvn pakcage is failing due to:
Fatal error:org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: VarHandle object must be a compile time constant at parsing yatta.runtime.async.TransactionalMemory.filtersWrite(TransactionalMemory.java:497)
Fedor Gavrilov
@kurobako
damn
the error was gone after previous change
how come it reappears now I wonder
Adam Kovari
@akovari
is that me messing up some merge?
Fedor Gavrilov
@kurobako
I doubt it
yatta-lang/yatta@3da3a69 is still there, right?
that fixed it last time I believe
wait, the place for this exception is not where it should happen
well, check if you have AtomicLongArrays.java somewhere
Adam Kovari
@akovari
yeah, I probably messed up
Fedor Gavrilov
@kurobako
it should be there, yeah
Adam Kovari
@akovari
yeah, sorry about that
Fedor Gavrilov
@kurobako
np
Adam Kovari
@akovari
it works now
Adam Kovari
@akovari
initial implementation of Regexp module: https://yatta-lang.org/docs/stdlib/regexp/
Silvino Barreiros
@silvinobarreiros
:wave:
im having some trouble getting the example snippets to run
syntax errors with function definitions
just wanted to double check the docs are still up to date
Adam Kovari
@akovari
hi Silvio, the docs are indeed up to date
what exactly are you doing and what errors are you getting?
Adam Kovari
@akovari
the only thing that is not totally up to date is the docker image, as the build is for some reason failing in github actions... I'm trying to fix that, but anything other than most recent features such as the with expression, or the STM and Regexp modules should work there
Adam Kovari
@akovari
@/all refreshed website at yatta-lang.org ... thanks a lot @ktzee
Adam Kovari
@akovari
FYI I moved println, read and readln to new IO module: https://yatta-lang.org/stdlib/io/
Adam Kovari
@akovari
@kurobako I reworked context managers with the wrapping function, see https://yatta-lang.org/stdlib/stm/#complete-example