profile
viewpoint

NerdyPepper/dijo 2208

scriptable, curses-based, digital habit tracker

icyphox/shlide 397

:framed_picture: a slide deck presentation tool written in pure bash

NerdyPepper/eva 363

a calculator REPL, similar to bc(1)

NerdyPepper/dotfiles 344

files that define my GNU/Linux box.

NerdyPepper/curie 139

An upscaled version of scientifica.

icyphox/vite 58

:cyclone: a static site generator that Just Works™; powers https://icyphox.sh

NerdyPepper/fondant 56

macro based configuration management library

NerdyPepper/chestnut.vim 30

Minimal syntax highlighting for 16-color terminals.

NerdyPepper/lotus 29

simple money and number formatting for rust

NerdyPepper/cutlass 18

experimental auto-currying for rust functions

startedicyphox/go-vite

started time in a day

startedjhawthorn/fzy

started time in 3 days

startedluaposix/luaposix

started time in 3 days

startedlcurses/lcurses

started time in 3 days

PR merged DSCRV/lisk

Reviewers
Add Comments

Comments

Comments are treated as whitespace and everything till newline (or eof) is skipped.

Closes #1

Syntax

(+ 1 2) ; this is a comment, will span till end of the line
(+ 3 4 ;comments are very useful and 
5) ; doesnt need to be at the end of the entire expression

Examples

Correctly used

parse parseLispValue "(lisk-repl)" "(+ 1 2 ;this is a comment\n)"

Right (+ 1 2)

parse parseLispValue "(lisk-repl)" "(+ 1 2 );another comment"

Right (+ 1 2)

parse parseLispValue "(lisk-repl)" "(+ 1 2 );another comment\n"

Right (+ 1 2)

Parse Errors

parse parseLispValue "(lisk-repl)" "(+ 1 2 ;comment another\n"

Left "(lisk-repl)" (line 2, column 1): unexpected end of input expecting ")"

parse parseLispValue "(lisk-repl)" "(+ 1 2 ;another comment"

Left "(lisk-repl)" (line 1, column 24): unexpected end of input expecting whitespace or newline

+20 -5

2 comments

1 changed file

chrisvrose

pr closed time in 4 days

issue closedDSCRV/lisk

Parse comments

Add a parser to handle comments, to src/Parser.hs.

Scheme comments begin with a ; and extend up to the end of the line, see R5RS standard. Examples:

; example begins here
(+ 1 1) ; adds one and one

closed time in 4 days

NerdyPepper

push eventDSCRV/lisk

Atreya Bain

commit sha 61eb6abb4eea4ef2c8f03b33976ebf723011ed56

add comments as whitespace

view details

Atreya Bain

commit sha c850d35d2f4b392ebbf36932f4becdf95641fd94

Add comments into whitespace

view details

Atreya Bain

commit sha 1de9cdfcb7fc8c30bd05e017929dae862d847c95

trim comment

view details

Atreya Bain

commit sha ed32b282a7bf62ea8c66dd8f39fc1b03afbfc478

add newline consumption

view details

Akshay

commit sha 6bc5de761069b1acbe47ba8aa0a8a8deae6ab43c

use `void` over `return ()`

view details

push time in 4 days

push eventDSCRV/lisk

Akshay

commit sha 6bc5de761069b1acbe47ba8aa0a8a8deae6ab43c

use `void` over `return ()`

view details

push time in 4 days

pull request commentDSCRV/lisk

Add Comments

Following scenario seems to fail:

parse parseLispValue "" "(+ 1 2;hello\n;again\n3)"

You can do something like this:

  • parseComment should consume everything from a ; to a \n both included, add a char '\n' at the end of parseComment
  • whitespace should consume multiple spaces, newlines, or comments, something like this:
whiteSpace = skipMany $ comment <|> nl <|> spc
    where nl = newline >> return ()
          spc = space >> return ()
chrisvrose

comment created time in 4 days

MemberEvent

startedexpipiplus1/update-nix-fetchgit

started time in 5 days

startedralfbiedert/cheats.rs

started time in 8 days

push eventDSCRV/lisk

Akshay

commit sha 494078074e5f620f11f72e48d0fc44cff73faaf2

refactor internal datatypes to Base - avoids cyclic module dependencies - cleaner exports to Main module

view details

Akshay

commit sha fbdd64d7e0888dd106abe8da7a7c46ec032db1ea

add Base module

view details

push time in 8 days

startedmonadfix/microlens

started time in 8 days

startedtweag/nickel

started time in 9 days

startedkowainik/relude

started time in 9 days

startedkowainik/stan

started time in 9 days

startednanotee/nvim-lua-guide

started time in 9 days

issue closedNerdyPepper/dijo

Git Synchronization

I want to sync the data store with git but every time I open the dijo it reorders keys in habit_record.json. Is there any way to prevent this behavior?

closed time in 9 days

1995parham

issue commentNerdyPepper/dijo

Git Synchronization

I am afraid not, JSON maps don't guarantee ordering. Perhaps rsync or syncthing might fit your use case better.

1995parham

comment created time in 9 days

startedSergioBenitez/Figment

started time in 10 days

startedtopshell-language/topshell

started time in 10 days

startednivekuil/rip

started time in 10 days

startedtauri-apps/tauri

started time in 11 days

push eventDSCRV/lisk

Akshay

commit sha 297b498acd205f0fcd68f3cdf7536b480cfac5e3

add basic quasiquote and unquote behaviour

view details

Akshay

commit sha 032e26cf9ed236889637e02e56aef7c22721cd23

prefer applicative over monadic style

view details

Akshay

commit sha f68c7f7a140127320f9dadc57a3d2a485b86d3df

add basic evaluation of unquote-splicing in quasiquoted forms

view details

push time in 13 days

push eventNerdyPepper/site

Akshay

commit sha 07db5114e73c2da162e131b8255dfd2507d810ee

fix: spelling

view details

push time in 13 days

push eventDSCRV/lisk

Akshay

commit sha 032e26cf9ed236889637e02e56aef7c22721cd23

prefer applicative over monadic style

view details

Akshay

commit sha f68c7f7a140127320f9dadc57a3d2a485b86d3df

add basic evaluation of unquote-splicing in quasiquoted forms

view details

push time in 14 days

push eventNerdyPepper/site

Akshay

commit sha 3414053d7cd17b43dd929e4e5fc468d98145e0d5

update intro, new post: Self-hosting Git!

view details

push time in 14 days

push eventDSCRV/dscrv.github.io

GitHub Actions

commit sha 579f2893589ac89f7cddd0bef2344bc77ee0b288

Deploy DSCRV/dscrv.github.io to DSCRV/dscrv.github.io:gh-pages

view details

push time in 14 days

push eventDSCRV/dscrv.github.io

GitHub Actions

commit sha 40571c816e665b1aef8e622ce4640eeff4d92661

Deploy DSCRV/dscrv.github.io to DSCRV/dscrv.github.io:gh-pages

view details

push time in 14 days

push eventDSCRV/dscrv.github.io

dragonfist453

commit sha 8bf089f59992e54275c48578f92cd419467a4c90

Added images and a basic layout

view details

dragonfist453

commit sha a6ff6f698f2d4d74fe3d8e655685da8716ba7962

Added template for team deets main.scss contains all the new grid box styles required deets are generated by iterating through config element new /team containing this was implemented team.html has all of this

view details

Akshay

commit sha 00ffe6579a3c213a95a48be443001a403b96efc6

rework team cards, fix image loading

view details

push time in 14 days

push eventDSCRV/dscrv.github.io

Akshay

commit sha 00ffe6579a3c213a95a48be443001a403b96efc6

rework team cards, fix image loading

view details

push time in 14 days

startedwinny-/runomatic

started time in 14 days

create barnchDSCRV/lisk

branch : quasiquoting

created branch time in 15 days

startedsn99/dota2_webapi_bindings

started time in 15 days

push eventDSCRV/lisk

Akshay

commit sha b19a4a35db4cd951c52e179f3340518c9e2dcc1e

add initial support for variable definition

view details

Akshay

commit sha 55065d6f67cf4b2f0bfaae19b38157a4ca934a62

fix: pretty print errors

view details

push time in 15 days

startedwoltapp/blurhash

started time in 15 days

startedgiovanniberti/robusta

started time in 15 days

startedgoogle/vimscript-language-server

started time in 15 days

push eventDSCRV/lisk

Akshay

commit sha 684e09298b8453ee56571d8a225e11d7c57e3746

add basic list primitives

view details

push time in 16 days

push eventDSCRV/lisk

Akshay

commit sha da70b8021ff08d2f994597a9f01289cf4cc04adb

improve arity error messages - now includes function name with expected arity - closes #4 on github.com/dscrv/lisk

view details

push time in 16 days

issue closedDSCRV/lisk

Rework arity error types

Rewrite the Invalid Arity error type (see src/Error.hs) to include the name of the failing function, then perform required changes to src/Operators.hs, to work with primitives.

closed time in 16 days

NerdyPepper

push eventDSCRV/lisk

Akshay

commit sha 9a5f28025aa5ed89be763dd874590c5ae3cb45b5

pin nixpkgs to 20.03, fix broken readline dep

view details

push time in 16 days

push eventDSCRV/lisk

Akshay

commit sha 14ad0667bf25351e522faa7d9fbb3ff31619d92e

add support for vectors a

view details

Akshay

commit sha c9958740743bd38f600d6b3d2f47af474def714f

fix vector and bool interactions

view details

push time in 17 days

issue commentNerdyPepper/eva

Precision problem with floating points numbers

@pickfire I am afraid I never got around to actually implementing it (I imported the num crate and completely forgot about it soon after)

snpefk

comment created time in 17 days

issue commentNerdyPepper/eva

Suggestion: How about prebuilt binaries for common os?

Ill get to work on this, for the time being, we could use Github Actions, eva (and all my other repositories) will be migrating to git.peppe.rs however, this might not be possible then.

Frago9876543210

comment created time in 17 days

push eventNerdyPepper/nixos

Akshay

commit sha 021db58b7b10d04afc8c2a705a9725081d58b901

remove inactive dim

view details

push time in 17 days

create barnchNerdyPepper/nixos

branch : master

created branch time in 17 days

created repositoryNerdyPepper/nixos

nerdypepper's nixos configuration

created time in 17 days

push eventDSCRV/lisk

Akshay

commit sha 82a64ef64602227daefc3ff96908d6c1b2303b61

add PBTs for arithmetic operators - commutativity of addition - commutativity of multiplication

view details

push time in 17 days

push eventDSCRV/lisk

Akshay

commit sha 8b08ea946d1fc73d8363efb633b8063f750520bf

rework test suite

view details

push time in 18 days

push eventDSCRV/lisk

Akshay

commit sha 4842ab6362077a62893ac79b752c7da5578292b9

fix dotted lists again

view details

Akshay

commit sha 8641ce3e1a730c8195e5a74fabef8814f43b05f8

refactor Error into submodules

view details

Akshay

commit sha f943fc17e5f80f92d20c86de5ea499bbfbe0cd75

allow multiline expressions

view details

push time in 18 days

create barnchDSCRV/lisk

branch : pretty-errors

created branch time in 18 days

issue openedDSCRV/lisk

Rework arity error types

Rewrite the Invalid Arity error type (see src/Error.hs) to include the name of the failing function, then perform required changes to src/Operators.hs, to work with primitives.

created time in 19 days

issue openedDSCRV/lisk

Improve interactions between integers and floats

Scheme numbers are tricky, see R5RS. The generic LispNumber type does not encompass all numeric types (nor does the parser), but it attempts to define interactions between floating and integer type numbers correct. It has to be redefined to adhere to the following rules:

F -> I -> F  -- implicit cast
I -> F -> F  -- implicit cast
I -> I -> I  -- no cast
F -> F -> F -- no cast

created time in 19 days

issue openedDSCRV/lisk

Parse character literals

  • Add a character literal data type to Expr in src/Parser.hs
  • Parse character literals

See R5RS standard for character literal syntax in Scheme. Examples:

#\a ; lower case letter
#\A ; upper case letter
#\( ; left parenthesis
#\space ; the preferred way to write a space
#\newline ; the newline character

created time in 19 days

issue openedDSCRV/lisk

Parse comments

Add a parser to handle comments, to src/Parser.hs.

Scheme comments begin with a ; and extend up to the end of the line, see R5RS standard. Examples:

; example begins here
(+ 1 1) ; adds one and one

created time in 19 days

push eventDSCRV/lisk

Akshay

commit sha c5d07ee83d1522b5ee9753d379dc1daf09600c08

parse signed ints and floats correctly

view details

push time in 19 days

push eventNerdyPepper/eva

Akshay

commit sha d31097959f29d7b82dabfd050eb988a896c2e44b

add double star (exponent) operator to list

view details

push time in 19 days

push eventNerdyPepper/eva

David Tolnay

commit sha 7118506a2a51a3261087d69a57a1c3f185175829

Accept `**` operator as exponentiation (#39) * Accept `**` operator as exponentiation * Add test of exponentiation

view details

push time in 19 days

PR merged NerdyPepper/eva

Accept `**` operator as exponentiation

** is an exponentiation operator in lots of languages.

  • Python https://docs.python.org/3.9/reference/expressions.html#the-power-operator
  • Ruby https://docs.ruby-lang.org/en/2.7.0/Float.html#method-i-2A-2A
  • JavaScript https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation
  • Perl https://perldoc.perl.org/perlop#Exponentiation
  • F# https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/symbol-and-operator-reference/arithmetic-operators#summary-of-binary-arithmetic-operators
  • Ada http://www.ada-auth.org/standards/rm12_w_tc1/html/RM-4-5-6.html
  • Haskell https://hackage.haskell.org/package/base-4.14.0.0/docs/Prelude.html#v:-42--42-

<br>

It also benefits from being convenient on a numeric keypad.

+12 -1

1 comment

2 changed files

dtolnay

pr closed time in 19 days

pull request commentNerdyPepper/eva

Accept `**` operator as exponentiation

Sweet, thanks a lot @dtolnay!

dtolnay

comment created time in 19 days

PullRequestReviewEvent

startedndmitchell/hlint

started time in 20 days

startedNixOS/nixos-hardware

started time in 20 days

push eventDSCRV/lisk

Akshay

commit sha 2d9320bf71912b2c682c15a8933031394de40936

handle lists and dottedlists without backtracking

view details

push time in 20 days

startedlptstr/pesc

started time in 20 days

startedjudah/haskeline

started time in 21 days

startedBurntSushi/quickcheck

started time in 21 days

push eventDSCRV/lisk

Akshay

commit sha 883092e4ff4f8beb59e3d705ef247c235baa6bb7

complete definition of naryBool i forgot to finish the function lol

view details

push time in 21 days

push eventDSCRV/lisk

Akshay

commit sha f74d9c9bb3722fd20cea000b4f0c2a74be289a9c

add quasiquote, unquote modifiers, basic boolean operations add more info to readme

view details

push time in 21 days

startedDSCRV/lisk

started time in 21 days

push eventDSCRV/lisk

Akshay

commit sha 5097a20545bbeeafec191f97e9d0ae3d215ada90

add binary boolean operators

view details

push time in 22 days

push eventDSCRV/lisk

Akshay

commit sha 6a9e6bd0b440234e6b5f89414ca340867e8b6c98

doc/todos

view details

Akshay

commit sha 217fbf90c4e632a298fbe8a31ef18b71c6bce2ce

mimic guile's errors

view details

push time in 22 days

push eventDSCRV/lisk

Akshay

commit sha 3ef6ec4bd3314efcac2504bd3a25e380d5e9514f

add experimental floating point handling

view details

push time in 22 days

push eventDSCRV/lisk

Akshay

commit sha 06bf4c656377572859846767cb9af5db8fc27893

use mtl to generate errors

view details

Akshay

commit sha c785a95f14f8bb3887cdc411ef3329533a2c819a

allow eval without entering repl

view details

push time in 22 days

push eventDSCRV/dscrv.github.io

GitHub Actions

commit sha 4c299b216d7a5fbd91d51dd99506d9562b89c2df

Deploy DSCRV/dscrv.github.io to DSCRV/dscrv.github.io:gh-pages

view details

push time in 23 days

startedhaskell/mtl

started time in 23 days

push eventDSCRV/lisk

Akshay

commit sha 9160b3648a69303c2ed288edec3d8e9bcec52f11

add readme

view details

push time in 23 days

create barnchDSCRV/lisk

branch : master

created branch time in 23 days

created repositoryDSCRV/lisk

an educational lisp interpreter written in haskell

created time in 23 days

push eventDSCRV/dscrv.github.io

GitHub Actions

commit sha 8ecaa350d1d1e18edd0d9eb3d3476736dacc4545

Deploy DSCRV/dscrv.github.io to DSCRV/dscrv.github.io:gh-pages

view details

push time in 23 days

startedKaTeX/KaTeX

started time in 23 days

push eventDSCRV/dscrv.github.io

Akshay

commit sha 2f81565b96463710d87d1e420d79db2314fa4f26

add sans fonts to cdn and import

view details

push time in 23 days

startedintolerable/stitch

started time in 24 days

push eventDSCRV/dscrv.github.io

GitHub Actions

commit sha bf5172c6ef07a3349e9e65a63a85804b2d6d19e3

Deploy DSCRV/dscrv.github.io to DSCRV/dscrv.github.io:gh-pages

view details

push time in 25 days

push eventDSCRV/dscrv.github.io

Akshay

commit sha 1e41521df6736486dd1750a81fb90215168a7b3b

add event log

view details

push time in 25 days

startedsminez/roc

started time in a month

create barnchNerdyPepper/nerdypepper

branch : master

created branch time in a month

created repositoryNerdyPepper/nerdypepper

created time in a month

startedzx2c4/cgit

started time in a month

starteddmjio/miso

started time in a month

startedjosephg/text-crdt-rust

started time in a month

startedbazelbuild/bazel

started time in a month

startedghcjs/ghcjs

started time in a month

startedMiodec/monkey-type

started time in a month

startedkori/dorian

started time in a month

startedweihanglo/sfz

started time in a month

startedathos/JiSE

started time in a month

issue closedNerdyPepper/eva

sin/cos functions take parameter as Angle not Radian

This way looks a little weird, sin(pi/2) should return 1.0 instead of 0.0274121335, maybe you can consider supporting both radian and angle, such as sin(90deg) or sin(90°) return 1.0, and sin(pi/2) or sin(1.5707963268) return 1.0

a little suggestion.

Great work, thank you!

closed time in a month

jesseky
more