Skip to content

Instantly share code, notes, and snippets.

Tristano Ajmone tajmone

Block or report user

Report or block tajmone

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tajmone
tajmone / tree-test.a3log
Created Jan 13, 2019
Alan 3.0beta6 build 1852 -- Test Apostrophes Elisions
View tree-test.a3log
Garden
There is a albero here.
> ; "climb on the tree" (bad Italian):
> arrampicati su albero
You climb the albero!
> ; "climb on the tree" (correct Italian):
View egrav-bug.a3log
Room
There is a ball and a caffè here.
> ; ==============================================================================
> ; The 'è' Bug in Action
> ; ==============================================================================
> ; The parser seems unable to catch the 'è' (grave accent):
> cosa è ball
View example-brief.alan
Syntax q = 'quit'.
Synonyms q = 'quit'.
Verb q
Does
Quit.
End Verb.
Verb brief
Does
@tajmone
tajmone / ChangeLog.txt
Created Oct 15, 2018
AsciiDoc 2 PlainText
View ChangeLog.txt
HIGHLIGHT CHANGELOG
HIGHLIGHT 3.47
13.10.2018
* fixed xterm256 and truecolor whitespace output #2 (
https://gitlab.com/saalen/highlight/issues/90
[https://gitlab.com/saalen/highlight/issues/90])
* fixed LaTeX, TeX, SVG and ODT whitespace output (regression of
@tajmone
tajmone / nested_location.alan
Created Aug 4, 2018
Alan 3 Beta 05: Testing Nested Locations as Verb Parameters
View nested_location.alan
--==============================================================================
-- "Test Verb on Enclosing Location" by Tristano Ajmone
--==============================================================================
-- Alan 3.0 Beta5
THE world IsA LOCATION.
-- Outer location enclosing other locations...
VERB touch
DOES "You touch $+1."
END VERB.
@tajmone
tajmone / theme2to3.py
Created Jun 19, 2018
Highlight `theme2to3.py` Script Recovered (from Highlight v3.5-1)
View theme2to3.py
# -*- coding: utf-8 -*-
#/usr/bin/python
from __future__ import with_statement # This isn't required in Python 2.6
import sys
def convert(oldFile):
ParamMap = {
'$DEFAULTCOLOUR': 'Default',
@tajmone
tajmone / meta-comands.alan
Created May 28, 2018
Alan IF 3beta05 Test META VERB
View meta-comands.alan
--==============================================================================
-- "METACOMANDI" by Tristano Ajmone
--==============================================================================
-- Questo test dimostra che non vi sono conflitti tra verbi di partita e verbi
-- comandi che richiedono oggetto.
--
-- Per?resta il problema che se il comando ?un META VERB, questo influir?
-- su tutti gli altri:
--
--| If your verb has multiple definitions, e.g. for various classes, applying
@tajmone
tajmone / mod_semver.pbi
Last active Apr 29, 2018
PureBasic mod_SemVer
View mod_semver.pbi
; ··············································································
; ··············································································
; ······················· Semantic Versioning 2.0 Module ·······················
; ··············································································
; ····························· by Tristano Ajmone ·····························
; ··············································································
; ··············································································
; "mod_semver.pbi" | PureBASIC 5.60
@tajmone
tajmone / haskell.lang
Created Jan 14, 2018
Highlight Haskell Syntax Fix
View haskell.lang
--[[ Answering @17dec on Issue #48:
https://github.com/andre-simon/highlight/issues/48
A working fix to his request...
--]]
Description="Haskell"
Keywords={
{ Id=1, -- You could use (or reuse) any Group ID (eg: 3, 4, 7, etc)
You can’t perform that action at this time.