Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 22 2019 23:01
    benhanna starred hrj/abandon
  • Dec 05 2018 07:38
    sanketvega starred hrj/abandon
  • Dec 05 2018 02:29

    hrj on master

    fix version for scala xml (compare)

  • Dec 04 2018 19:43

    hrj on master

    bump dependencies (compare)

  • Oct 30 2018 17:16
    cflavio starred hrj/abandon
  • Oct 02 2018 05:03
    nerdy-sam starred hrj/abandon
  • Sep 08 2018 20:18
    jethrovt starred hrj/abandon
  • Aug 18 2018 13:37
    hrj opened #154
  • Jun 12 2018 14:41

    hrj on master

    bumped version of scala parser … (compare)

  • Jun 08 2018 20:59
    musha68k starred hrj/abandon
  • Jun 05 2018 02:11
    maoabc2015 starred hrj/abandon
  • Jun 02 2018 19:09

    hrj on master

    Updated plugin buildinfo Signe… (compare)

  • Jun 02 2018 19:02

    hrj on master

    bumped scala and sbt versions (compare)

  • May 26 2018 04:19
    joyoyoyoyoyo starred hrj/abandon
  • May 17 2018 15:52
    evenhumble starred hrj/abandon
  • May 16 2018 14:56
    janez89 starred hrj/abandon
  • May 02 2018 17:28
    Samehadar starred hrj/abandon
  • Mar 20 2018 00:11
    MyNameIsCosmo starred hrj/abandon
  • Mar 13 2018 13:09
    vlamacko starred hrj/abandon
  • Mar 09 2018 07:17

    hrj on master

    bump the buildinfo plugin versi… (compare)

Chidu
@chidu8
*think of a way
Or even if you have any vague ideas, that will be useful
did you think of a way
hrj
@hrj
Nope, I haven't thought of a concrete way.
Chidu
@chidu8
sorry for the multiple posts, i did not meant to italicize.
i tried * and it became italics
hrj
@hrj
A little off track, but how much time do you intend to spend on abandon? I should have asked this before.
Chidu
@chidu8
I don't have a specific time in mind. My goal is to contribute to an active Scala project, which has a mentor :)
If you're working on another active Scala project, that is also fine with me
hrj
@hrj
cool. #5 is a rather big task.
Chidu
@chidu8
Also i want to make a substantial contribution, so #5 suits me.
hrj
@hrj
Nope I am working on an active Java project (gngr)
oh, that's great then!
Chidu
@chidu8
But i will need some help and guidance
hrj
@hrj
sure, I am there to help.
Chidu
@chidu8
cool
so lets get started
hrj
@hrj
I am looking at all tasks right now and trying to categorize them. One moment.
Chidu
@chidu8
col
*cool
hrj
@hrj
Upon further thought, this one looks like a good starting task: hrj/abandon#3
Chidu
@chidu8
Cool I will start with #3
hrj
@hrj
Let me explain it a bit. If there are errors during parsing stage, they are reported with details about the location of the errors. However,
... if there are semantic errors, then the location of the error is not shown.
Chidu
@chidu8
Okay
hrj
@hrj
Because at that time of processing, the location information is not available.
Chidu
@chidu8
Could you give me an example of a semantic error?
hrj
@hrj
Yeah, "transactions don't balance"
In a transaction, if I just make two posts abc +100 and xyz -200, then it is not a syntax error, but a semantic error.
Chidu
@chidu8
okay
got it now
what location should be shown in this case?
hrj
@hrj
It is up to us to decide. One strategy could be to store the location at the transaction level during parsing, and refer to that in the error.
Chidu
@chidu8
ok
By any chance, have you looked at the source code of ledger written in other languages? Has this feature been implemented?
hrj
@hrj
Nope, I haven't.
But I do know the high level differences. In abandon, I am designing the system such that the order of input doesn't matter.
Chidu
@chidu8
ok
hrj
@hrj
( I am having some internet hiccups. Some of my messages are not posting here)
In ledger-cli, they start processing during the parsing stage itself. In abandon, there is a separate parsing stage followed by a processing stage.
Chidu
@chidu8
ok
hrj
@hrj
So, in ledger-cli, if I specify file1 followed by file2, it can give a different result from file2 followed by file1
Because the declarations in file1 might affect the declarations in file2 which comes later.
Chidu
@chidu8
how will the AST look like for abc +100
abc, and 100 as leaf nodes and "+" is their parent node
?
hrj
@hrj
Whereas in abandon, the order of input shouldn't matter. In my opinion, this reduces the complexity to the user.
You are sort of correct
Chidu
@chidu8
Yes i agree
about complexity
hrj
@hrj
But in Scala, you don't need an actual tree structure.
so abc +100 is just Post("abc", 100)