« first day (1683 days earlier)      last day (3153 days later) » 

12:00 AM
Programming in Notepad can be extremely challenging.
 
@PhiNotPi I usually use N++ for web dev or if I have Travis set up
 
@PhiNotPi Then why do you do it? For the challenge? :P
There's Padre, an IDE for Perl. That might make your life a little easier.
 
@AlexA. What is your project? A smoothie?
 
@AlexA. Olive Garden's Peach Mango ones are my favorite
 
12:11 AM
Olive Garden has smoothies?
I've only been to an Olive Garden once in my life.
Smoothies seem off-topic for Olive Garden.
(Their getup appears to be about making fake Italian food.)
 
They just removed pizzas from their menu o_o
But their Peach Mango is fab
 
Good to know. If I ever find myself in an Olive Garden again I'll have to try it out.
 
12:34 AM
@AlexA. What are you really doing with Blender? I was tempted to play with it a few times, but never did.
 
12:52 AM
0
Q: Code Golf - Randomized Integer

VTCAKAVSMoACEHere's a challenge: make a randomized integer generator in any programming language without the use of a pre-defined method (i.e. Math.random();) Rules: Any programming language Must be usable offline (haha, people who use curl!) Interaction with hardware is acceptable Must be tested with comp...

 
1:33 AM
@RetoKoradi I'm working on a project with a colleague using the Blender game engine to build an interface for 3D data exploration.
 
0
Q: String Shenanigans

The_Basset_HoundChallenge In this challenge, you are to code in any language a program that will take a string and replace certain characters within it with different characters. Input [string] [char1] [char2] string will be an indefinite line of characters surrounded by quotation mars, such as "Hello, Wor...

 
@AlexA. Sounds like fun. Let me know if you have cool pictures we can look at.
 
I don't at the moment but I'll keep you posted. :)
 
2:11 AM
0
Q: Radiation Hardened Quine

minerguy31As you should (hopefully) know, a radiation hardened quine is a quine that you can remove any one character from and still print its original, pre-modified source. The thing is, with most of these you can only remove one character; otherwise everything breaks down. This is where this comes in; yo...

 
2:28 AM
0
Q: Dynamic ASCII Encoder!

UndefinedFunctionIntroduction Some ASCII characters are just so expensive these days... To save money you've decided to write a program that encodes expensive characters using inexpensive ones. However, character prices change frequently and you don't want to modify your program every time you need to encode o...

 
@AlexA. You know that "count occurrences of character in string" challenge?
 
Yeah
 
This is how my new language solves it:
_c]_c=||+
 
Very nice!
How does it work?
 
As in Element, the _ is input.
And the c splits a string into characters.
The ] nests the string one level deeper in an array, like [[q q q q w w w e e \n]]
Then, the single character input is split into an array like [q \n]
The double-nesting of the first array is currently needed because the "single character" input still has the newline attached (I don't have a chop operator yet).
The = (string equality) distributes pairwise over the arrays, comparing the q with [q q q q w w w e e \n] and the \n with nothing.
 
2:38 AM
for the replacement challenge, wouldn't the retina solution be one char long?
just the flag
i haven't use it before and I'm curious
 
The | represents "reduce"
 
@Maltysen I haven't used it either but I think you're correct.
 
By having || I am doing a double-reduce (since the array is double-nested)
You have no clue how long it took for me to make modifiers, like "reduce," stack on top of each other like that.
The + is the operator, addition, taking the array of comparison results [[1 1 1 1 0 0 0 0 0 0 0]] and double-reducing it to 4.
 
That is accurate, I have no clue how long it took. :P I assume quite a while; it sounds like a beast of a task.
 
but where does the config string go?
 
2:42 AM
Thanks for the thorough explanation! Sounds like your new language is coming along really well.
Thought of a name for it yet?
 
It involves multiple recursive functions that call each other.
 
@Maltysen For Retina?
 
@AlexA. yup
 
I don't know
 
looks like it will be a two char solution
one for the -e flag
and on for the i in the config string
ohhhh
nvm
 
2:46 AM
The language has something called the active modifier list. Each time a modifier (like the | reduce) is used, the modifier reduce is pushed onto that list.
 
So like a stack for operators?
 
@NewMainPosts @AlexA. Why'd you close this?
 
No, they are not treated as operators. They are things that take operators (like + or *) and apply them in different ways. Reduce, for example, applies addition to an array to add together the elements of the array.
 
@Doorknob No win condition--that was the close reason
 
Then, when on operator + comes up, the program looks through the list to determine which modifiers are applicable, and puts those onto a selected modifier list.
 
2:48 AM
> your goal is to build a radiation-hardened quine that can take as many character removals as possible
Isn't that one?
 
^ definitely a win condition
 
but how do you define max char removals
 
"Maximum" is pretty well defined
 
So the winning submission is the one that can handle the maximum number of character removals?
 
is it any 5 chars?
(for example)
or a specific 5 chars
 
2:49 AM
@AlexA. Yes, that's what the question seems to say.
 
Okay. It wasn't clear to me.
 
> a radiation hardened quine is a quine that you can remove any one character from and still print its original, pre-modified source
I assume it's any (n) chars.
 
I have a concept called the "footprint" that describes the number and type of operands that an operator accepts.
Addition has a [0,0] footprint since it's just two numbers. Something else may have a [1] footprint that means it can operate on a single 1-dimensional array.
Each modifier has its own footprint, like reduces [-1], for any single array of any size.
In the end, double-reduction addition has a footprint of [[-1],[-1],[0,0]]
 
@PhiNotPi The term I'm familiar with for that concept is "signature". The signature of a function defines the number and types of arguments, as well as the return type.
 
@RetoKoradi That is probably the correct term.
So, a single object is pops off the stack. Then, it gets fed through a recursive function that divides it into smaller objects if, say, that object had been marked as the subject of a foreach loop.
 
2:55 AM
The only place I can think of where "footprint" is commonly used is in "memory footprint".
 
Then the individual objects are fed into another recursive function, where it detects that a modifier is in use, applies said modifier, and then recurses with a [[-1],[0,0]] footprint/signature.
Which, after being feed back through those two recursive functions again, becomes a [[0,0]] signature. When that is fed through the first recursive function, it makes sure that both operands are scalars by division+recursion. Once they are broken down into individual pieces, they are fed through the second recursive function again, which detects that there are no modifiers left, and performs the calculation. The result is then fed back up through the recursive chain.
All of which is invoked by a nice &performop(\&add); which allows direct compilation of the golfing language to Perl.
 
3:14 AM
That's nuts.
Thought of a name for the language yet?
Phi's Golfo Supreme?
2
 
i'll throw in a vote for Phi's Golfo Supreme
 
☑ Written in Notepad
☑ Compiles to Perl
I have no ideas for a name yet.
 
Notepad-Lang
WrittenInNotepadCompilesToPerl
 
If I decided to add an input operator i that automatically chomps the newline, I could shorten the "count occurances of character" solution down to _ci=|+
 
3:30 AM
Oooooh
 
Also, both of these take input via STDIN, do stack based languages usually assume input is already on the stack?
 
No, I think at least CJam starts with an empty stack
 
How do the 3-char Pyth solutions work?
 
GolfScript places the input on the stack, CJam doesn't. While CJam's approach always adds a byte to your count, GolfScript's approach is really annoying when undesired.
 
Does Pyth take input from STDIN whenever an operator needs more operands than are on the stack?
 
3:34 AM
Pyth isn't stack-based.
 
It's kinda like a stack.
 
How so?
 
Not at all. Pyth is more like Python than CJam.
 
^
 
Input is usually done via two auto-initialized variables. When they appear for the first time, Q is initialized as input() and z as raw_input().
There are more input facilities (.Q, .z), but those are the two I've seen the most.
 
3:38 AM
Yo @Dennis (and @Doorknob if you're awake!), it seems to be unclear whether our defaults for functions vs. programs can be assumed when the OP says "program," like for this question. Thoughts?
 
Sorry to interrupt, but this is cute
 
@Calvin'sHobbies Haha that's adorable. Took me a second to recognize what it was.
 
Well, what I was referring to was its use of Polish notation. Things like *+2 5 3 giving 21 are stack-based.
 
no its just everything prefix
 
Stack-based languages usually use reverse Polish notation.
 
3:39 AM
^
 
Idk why that was starred but it's true :P
 
Using Polish or reverse Polish doesn't actually affect if it is stack-based.
 
No it doesn't.
 
it even uses an AST
 
I'm confused by "Things like *+2 5 3 giving 21 are stack-based."
 
3:41 AM
@AlexA. The instruction pointer is traveling leftward.
 
yeah, my grammar is sketchy there.
 
@feersum What does that have to do with a stack?
 
@PhiNotPi Imagine addition/multiplication as dyadic functions instead of operators. Then *+ 2 5 3 becomes *(+(2,5),3).
@AlexA. If the OP writes program, I'd say it overrides our defaults.
 
@Dennis Right, but based on the wording he doesn't seem to be enforcing programs only; it seems more like an ambiguous word choice. Do you know what I mean?
 
`*+2 5 3` gives `21` along the lines of
- push 3
- push 5
- push 2
- pop 2, pop 5, push 2+5=7
- pop 7, pop 3, push 7*3=21
If you take a Pyth program, but reverse it to use postfix notation, it has many similarities to stack-based languages.
 
3:45 AM
@PhiNotPi here is the debug output for that: imp_print(times(plus(2,(5)),(3)))
as you can see + is just a two-arg function
 
@Dennis A dude in the comments sums it up well: "unfortunately, different people use the term "program" differently."
 
@Maltysen It's just two ways of looking at the same thing.
 
but it matters for things like the lambdas
m*2dT
how would that be stack based?
 
1
Q: Composite Number Sequences

vihanComposite Number Sequences Inspired by this question Given a positive integer n, your code must output the first n composite numbers. Input / Output You may write a program or a function. Input is through STDIN or function argument and output is to STDOUT, or function return value. Output ca...

 
@AlexA. If you ask me, he might have excluded functions unintentionally, but he still excluded them. No way to tell for sure without waiting for an answer from the OP.
 
3:51 AM
Okay, thanks
 
@Maltysen I'm not claiming that Pyth is an entirely stack-based language. With *2d something like cJam of GolfScript would have to push that as a code block.
Like T{d2*}m
 
@AlexA. (I'm about to go to sleep) Even I've been guilty of accidentally saying "Your program must..." in a challenge without intending to exclude functions. Currently, from my challenge-writing experience, if you say "the program" anywhere in your post then functions are automatically out, but I would really prefer something less... pedantic.
(Especially since newcomers are unlikely to know this rule.)
 
Agreed. Thanks for your input.
 
I'm signing off for tonight.
 
Goodnight!
Hey @GlenO, welcome to The Nineteenth Byte! I haven't seen you in here before.
 
4:18 AM
Okay, bye Glen
 
slowly
but surely
this room will be filled by people who are moderators
 
Haha
 
@AlexA. The other problem with that letter replacement challenge is that the specification says that the input string is "surrounded by quotation marks", which most people seem to have ignored.
 
I'm thinking about doing a Vim answer for that
how many bytes should I count for <CTRL+R> though?
I think two seems fair
 
@orlp A shell script using tr might also be pretty short.
Well, the upper/lower case thing might make it a little longer.
 
4:33 AM
@RetoKoradi do you think it's ok if I leave the quotes on the output?
e.g. at the start of the Vim input the line looks like this:
"yolO" o u
at the end it looks like this:
"yulu"
 
@orlp I don't know. I interpreted it as the input being with quotes, the output without. The examples certainly suggest that this was the expectation. But the description does not make it entirely clear. And it looks like others interpreted it differently.
 
@RetoKoradi that makes no sense though
why have quotes on the input, but not the output?
 
@orlp Well, you could say that it adds some difficulty to a challenge that is very easy (in many languages) otherwise.
 
@RetoKoradi arbitrary difficulty
 
@orlp Yeah, I doubt that the OP did that on purpose. In any case, it looks like we have a bunch of answers that all interpret the requirements differently. Which is unfortunate.
 
4:41 AM
I'm not happy with my answer here:
1
A: Dynamic ASCII Encoder!

orlpPyth, 46 bytes Encoder, 22 bytes @smfql{Td^<Szd4S4-Cw48 Decoder, 24 bytes C+48xsmfql{Td^<sS{zd4S4z

I'm certain there must be a better way
what I effectively did was create the entire table of 4 element weak orderings
and then simply index / reverse index
@RetoKoradi I think that unless you can argue in favour of a certain input format it should be flexible to reasonable limits
for example for my pokemon super effective challenge I required people to parse the pokemon type as "Water/Fire", and disallow ["Water", "Fire"]
that made sense, because that's simply how pokemon types are presented everywhere on the planet
 
@orlp I much prefer challenges where the "meat" of it is finding good solutions, and not on parsing weird input or producing painful output formats. Or on dealing with boundary/error cases. I often pass on those challenges entirely. And I know nothing about pokemons. :)
 
5:17 AM
@Maltysen Wilson's theorem, nice :)
 
5:36 AM
Beating us with fancy number theory!
 
@RetoKoradi not beating me :P
 
@orlp Ok, just me then. That makes me feel much better. ;)
Oh, that's actually much easier.
 
We'll probably see more Wilsons when the prime catalogue starts
 
@Sp3000 hrm?
 
?
 
5:48 AM
what prime catalogue?
what is it?
 
7
A: Sandbox for Proposed Challenges

Alex A.Is this number a prime? code-golf math primes Believe it or not, we do not yet have a code golf challenge for a simple primality test. While it may not be the most interesting challenge, particularly for "usual" languages, it can be nontrivial in many languages. Rosetta code features lists by ...

 
It's like the Hello World one. It's sandboxed atm
^^ that
 
@Dennis may tests assume that the riemann hypothesis is true?
 
Which approach would be short enough yet require Riemann?
 
@Sp3000 oh I thought there were performance requirements
now that I re-read it's just going to be trial division or builtin fest
 
5:53 AM
.., or Wilsons, but basically yeah
 
Pretty much.
 
@orlp Actually, my initial CJam implementation of your idea for the composite challenge is 18 bytes, which is the same as the one I already had. Dennis could probably reduce it to about half the size...
li_,2f+2m*::*_&$<`
 
@Sp3000 for Pyth it's just going to be !tPQ
 
I know, but I'm thinking esolangs :P
 
@RetoKoradi Not half the size, but ri_,2f+_ff*:|$<p is two bytes shorter.
@MartinBüttner lX~f&"~"|X< (still 11 bytes, but without the error messages)
 
6:19 AM
0
A: Sandbox for Proposed Challenges

VoitcusIs a point inside a polygon? Given the polygon with 2 < N < 11 sides, on 2D plane, find out if a given point is inside the polygon. The input can be an array of points in x, y, each determining a vertex, or by a string in format X Y x1 y1 x2 y2 ... xN yN (you may choose other separator). The X ...

 
6:34 AM
0
A: Sandbox for Proposed Challenges

h.j.k.Literal Fourier Transform (or Fouriest Numbers?) (inspired by this Saturday Morning Breakfast Cereal comic) It's called a fourier tranform when you take a number and convert it to the base system where it will have more fours, thus making it "fourier". If you pick the base with the most four...

 
6:45 AM
2
Q: It's my Birthday :D

Beta DecayIntroduction Today's my birthday (really!) and sadly I've had to organise my own party. Well, now you know, couldn't you at least make the cake? Challenge Given an integer n as input, write a full program to output a birthday cake with n candles on. Output A piece of cake with one candle on ...

 
@BetaDecay happy birthday! how old are you? -15?
12
my birthday was 4 days ago :p
 
7:05 AM
@Dennis I liked your previous profile pic better
 
Is a php specialist here? :D
 
@Optimizer I agree
 
7:22 AM
@AlexA. I've added an answer to see what people think. Whether they are upvotes or downvotes it should settle the question...
1
A: Default for Code Golf: Program, Function or Snippet?

trichoplaxRestricting to just programs requires explicitly requiring "full program" rather than just "program" If the question requests a program, this can still be answered with a function. This allows for the fact that many people state "program" without thinking, not intending to exclude functions. Fo...

 
@aditsu Haha no, 16
And happy late birthday :D
 
thanks, wow, I'm old :p
 
I'm not gonna guess lest I horribly offend you ;)
 
36?
 
not anymore..
 
7:29 AM
37 then?
 
@BetaDecay so you're not -15, you're -~15 :)
 
That's it haha
I tried ~-15 and gave up
 
incidentally, those are cake characters
 
lesson learned that do not tattoo your age on forehead. It will get obsolete.
 
7:42 AM
@Optimizer not in your mind
guys help me out here
has there ever been a challenge that is about implementing regex matching yourself?
so no builtins allowed?
 
Yeah
 
:(
link?
 
Still looking :P
10
Q: Implement PCRE in your language.

Nathan Osman Note: After trying this myself, I soon realized what a mistake this was. Therfore, I am modifying the rules a bit. The minimum required functionality: Character classes (., \w, \W, etc.) Multipliers (+, *, and ?) Simple capture groups Your challenge is to implement PCRE in the language...

 
I was thinking code golf
and it would be a very limited subset
 
That could work
 
8:15 AM
0
A: Sandbox for Proposed Challenges

jimmy23013pop-con idea: Your task is to write programs under 10 bytes (or 20 bytes, or flexible, or chaining and increasing, I'll decide later) in different languages, which take no input and all output the same thing. Voting criteria: Answers with more languages are better. The shorter the the longest...

 
@Dennis you crazy
 
*cray cray
 
Sometimes golfing is like cheating ... I'm unhappy with myself about my last answer haha :D
 
8:32 AM
@Alex The HW catalogue doesn't require that the language satifies our usual programming language criteria
 
 
2 hours later…
10:14 AM
0
Q: How do we calculate the length of lambda?

QwertiyExample: Write a function which returns number passed into it as an argument. Solution: f=x=>x What is its length? Is it 4 as a length of the lambda x=>x only or 6 as a length of whole statement with assignment? What if there are 2 functions? g=x=>x/2 f=x=>g(x)+g(x)

 
 
1 hour later…
11:25 AM
Uhh my classmates are thick :P
 
11:53 AM
Today I'm going to try to add lambdas to my language.
 
What's your language? @Phi
 
It doesn't really have a name yet. Here's my current progress: github.com/PhiNotPi/GolfLang
 
12:10 PM
I see. Do you have any more examples for it?
Say, Fibonacci, Hello World or a Prime Check?
 
I don't have very many examples because I don't have very many operators.
It's literally like 2 days old.
 
Oh haha
 
I've worked mainly on syntax.
 
I thought I'd seen it before
 
This is a new language, I made a previous one here: github.com/PhiNotPi/Element
 
12:13 PM
That's what I was getting mixed up
So how would lambdas work in your language?
 
no earthly idea.
 
Oh haha :P
 
But I really need to add them, as part of syntax.
Becuase they are really great and do all things.
 
So you have equality operators... Any conditional operators?
 
Not yet, but they are trivial to add.
 
12:15 PM
Because then you can form a loop combing that and the lambdas
 
My work so far has been to make it so that operators are really easy to add.
 
I see. Is that what the dictionary's there for?
Keeping all operators at the top
 
There's several dictionarys in the code.
The top half (above the giant dividing line) take the source and compiles it to Perl, which, for the most part, is simple substitution of + with &performop(\&add); etc.
Then, below the dividing line, is all of the meat of calculations.
 
I kind of get you
My lack of perl knowledge lets me down here
 
The language compiles to Perl.
The "compiled" source code has a ton of subroutines in it, for each of the operators.
And so, by making a list of operations, like &performop(\&add);&performop(\&mult); I can call those subroutines in the order needed to perform those operations.
 
12:23 PM
I see
Is Element compiled to Perl too?
 
Yes.
This new language is vastly superior in power, becuase it handles arrays.
 
Do you need ideas for further features?
 
sure
 
PRNG?
 
already on my todo list
 
12:26 PM
Hmm
 
What could differentiate it from cJam and Pyth?
 
I thinking of stuff that I've put in Fourier (which isn't a lot) which could fit
@PhiNotPi Infix notation?
 
Probably a bad idea.
 
Yeah haha. What does Perl do best?
That could be used to your advantage
 
string stuff, probably
Regexes
 
12:28 PM
Meh Pyth does that... That's if you want to be different though
 
Any other ideas?
 
i might change pb to not output trailing spaces
because currently every line printed is padded to the same length as the longest one, which is not acceptable for some challenges
 
@PhiNotPi Graphics?
 
I guess I'll take a look at previous graphical code golfs.
 
Well technically all you need to do is load the image as a large 3D array and compile a 3D array back to an image
But I suppose some specialised functions would help
 
12:58 PM
A lot of non-trivial graphical questions seem to get most of the answers with more verbose languages. (Things like this are possible with Pyth and CJam.) I think it would be cool to have a golf language like Pyth or CJam, but with a "mode change" operation that changes between different modes (default, mathematics, image processing, etc.) and then all commands/variables/stuff would be single characters in that mode.
 
Didn't someone say something like that earlier?
That sounds pretty good
 
Dunno. I don't have time to dig through the backlog
 
I think best way to implemented one of those "mode changes" would be with a command line flag - clearly distinguishable, but only costs 1 byte
 
I disagree
If you designate each mode a different character
 
Yeah, but it should be changeable during runtime
@BetaDecay This is basically what I meant, like MD for default, MM for math, MI for images, etc.
 
1:08 PM
So say D is default and M is maths, you have a program like p"Hello, World"Mp23Dp"hdjd" where the program starts in default, switches to maths mode and then back to default
And p in default is print while in maths it's say, factorise
 
Maybe, although I'd probably go for 2 chars to enter a mode (saving some for often used commands) and then 1 char to return to default
Also printing should probably be implicit or single-command everywhere
 
Implicit printing is a great idea. I was apprehensive until I tried Pyth
 
I guess this could be done as a mod for Pyth or CJam. For CJam, it would be a normal instruction. For Pyth I'd say when the parser encounters the "mode change" command it would change any subsequent commands to another mode (the mode command is never actually executed, it just changes compiler mode).
 
Talking of that, @isaacg I think Pyth needs an equivalent to pass in Python. The only equivalent is K0 or J0, which seems a bit long for a golfing language
 
What'd you use it for?
 
1:13 PM
0
A: Stop, stand there where you are!

Beta DecayPyth, 19 bytes Late entry but after finding .d0 in the docs last night I decided to give it a go. DCNK.d0W<-.d0KNJ1)) Defines a function which loops until the time elapsed is N seconds. Try it here.

When looping until a condition is fulfilled
Actually I suppose it is a niche requirement
 
@BetaDecay You can't use .d for that question
I added it because of that question
 
I just realized, my language almost already supports different "modes"
 
I really don't think pass is that useful, you rarely have to wait in programs. Also that )) should be a ;.
 
It's against the langauge must be older than the challenge rule
 
You did? Oh crap
 
1:18 PM
Also, that )) should not be there at all - )))... is implicit at the end of any program
But yeah, that's why I haven't answered it.
 
Nevertheless in case pass is needed I'd save the autoinitializing variables for actual code and make it some of the . functions (are there any left?)
 
There are some left
I'm trying to thing of a clever way to do it
 
Well I assumed that if you were going to use the function, you'd have to add )) in
 
Ah
Well, I guess, but ; is still better in that case
 
One thing we'd really need in Pyth is min(a,b) and max(a,b)
 
1:19 PM
@isaacg You still have the wealth of Unicode characters untapped
 
And they're going to stay that way
 
Aww haha :P
Are you leaving that for APL?
 
Sure
It's a small improvement, with the cost of making it much harder to display and use consistently
 
1:47 PM
(removed)
 
2:34 PM
(removed)
so, I used .f in CJam, it makes me happy :)
 
What does .f do?
 
it's a bit hard to explain
 
EDIT: I think this is Pyth, cJam does something else'... IIRC, it uses a lambda, and finds the first N natural numbers that satisfy that lambda.
 
Oh okay. Any relevant docs?
 
here's an example: [[1 2][3]][4 5].f+p
the . matches 2 arrays element by element
 
2:40 PM
I think he means the CJam . and f
I checked both on the docs and was horrified
 
and the f does something with each element from an array and another value
in the above example, I am adding 1 and 2 with 4, and 3 with 5
 
Oh I see. So it's kind of like a map?
 
yes, map with extra parameter, as documented
 
So basically a b f+ is equal to map(lambda k: k + b, a), . is vectorize operator (as in Pyth) and the combination is this?
That's how I understood the docs
 
don't know Pyth, but yeah it's something like that
@PhiNotPi I said "I used .f in CJam", why would you think this is Pyth? :p
 
2:44 PM
CJam and Pyth.... They're both collections of letters thrown into a bag and picked at random ;)
 
@aditsu if A = [1, 2, 3] and B = [5, 7, 9], then addition is +AB = [1, 2, 3, 5, 7, 9] and vectorized addition is +VAB = [6, 9, 12]
 
I thought I knew what .f did, but that was actually for a different language.
 
0
A: Sandbox for Proposed Challenges

w0lfImplement Simple Regex Character Classes This task is about writing a very basic Regex tester, that only has to deal with simple Character Classes (ex: [abc], [a-z]). Shorthand Character Classes (ex: \d, \w), dot, anchors, quantifiers and all other awesome Regex features will be ignored. Input ...

 
@Pietu1998 yeah, in CJam those would be AB+ and AB.+
 
@aditsu So is CJam similar in syntax and features to any non-golfing languages?
 
2:48 PM
I doubt it
I guess it has some similarities to Forth, but I'm not familiar with it
 
Ohh. So nothing like C
 
or Jam
 
block syntax is like C, not much else
 
For some reason I've downvoted that without ever seeing it before
 
I wonder, is there a list of all PPCG-user-made languages somewhere?
 
2:54 PM
probably not, and we should make one
 
Definitely not complete.
We should make a thread on the site for it.
Maybe a meta thread such as "What programming languages have been created by PPCG users?"
 
Go for it
 
I plan to make a non-golfing language (I've been thinking about it for years)
also practical and not esoteric :)
 
What constitutes as esoteric?
 
2:58 PM
according to esolangs.org, "unique, difficult to program in, or just plain weird"
not sure about the unique part..
 

« first day (1683 days earlier)      last day (3153 days later) »