Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello World programs needed #1

Open
knightking100 opened this issue Oct 1, 2017 · 34 comments · Fixed by #144
Open

Hello World programs needed #1

knightking100 opened this issue Oct 1, 2017 · 34 comments · Fixed by #144

Comments

@knightking100
Copy link
Owner

knightking100 commented Oct 1, 2017

List of languages. Pick one you like and open a PR. Make sure you've read CONTRIBUTING.md

You can also request a new language to be added to the list, just leave a comment here.

<!--
function comparer(a, b) {
  const re = /(\d+)|(\D+)/g;
  a = a.slice(5).trim();
  b = b.slice(5).trim();
  if (a[0] == '[') a = a.substring(1);
  if (b[0] == '[') b = b.substring(1);

  const ax = [], bx = [];
  let an, bn, nn;

  a.replace(re, (_, $1, $2) => ax.push([$1 || Infinity, $2 || ""]));
  b.replace(re, (_, $1, $2) => bx.push([$1 || Infinity, $2 || ""]));

  while (ax.length && bx.length) {
    an = ax.shift();
    bn = bx.shift();
    nn = (an[0] - bn[0]) || an[1].localeCompare(bn[1]);
    if(nn) return nn;
  }

  return ax.length - bx.length;
}
copy(a.split('\n').filter((v, i, s) => s.findIndex(e => e.slice(5) == v.slice(5)) === i).sort(comparer).join('\n'))

copy(a.split('\n').filter((v, i, s) => i === s.findIndex(e => e.slice(5).toLowerCase() == v.slice(5).toLowerCase())).sort(comparer).join('\n'));

b = b.trim().split('\n');
a = a.trim().split('\n').map(e => {
  if (!e.startsWith('- [ ]')) return e;
  for (var c of b) {
    if (e.toLowerCase().indexOf('[' + c.toLowerCase() + ']') > -1) {
      b.splice(b.indexOf(c), 1);
      return '- [x' + e.substring(4);
    }
  }
  return e;
});
-->
addi-sp-sp-4 pushed a commit to addi-sp-sp-4/hello-worlds that referenced this issue Oct 1, 2017
This was referenced Oct 1, 2017
This was referenced Oct 1, 2017
NMGSGame added a commit to NMGSGame/hello-worlds that referenced this issue Oct 1, 2017
@daya2940
Copy link

i also want to work on this

@uwx
Copy link
Collaborator

uwx commented Oct 14, 2019

@daya2940 just send a PR in!

@tiotobing
Copy link

Add X++ and EPL #842 #841

@Wmonroy323
Copy link

What's this?

@shivam123-dev
Copy link

@knightking100

Added the Hello World program in Calculator language and created a pull request here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.