Skip to content

Instantly share code, notes, and snippets.

@nthiery
Created June 7, 2018 08:58
Show Gist options
  • Save nthiery/7c1b9033c6f93e7efbf0ece454e50f67 to your computer and use it in GitHub Desktop.
Save nthiery/7c1b9033c6f93e7efbf0ece454e50f67 to your computer and use it in GitHub Desktop.
List of gap symbols currently used by SageMath
sage: import glob, io, re
....: for s in sorted(set(match
....: for file in glob.glob(os.environ['SAGE_ROOT']+"/src/sage/libs/gap/*.pyx")
....: for line in io.open(file)
....: for match in re.findall(r'libGAP_\w*', line) )):
....: print(s)
....:
libGAP_
libGAP_ASS_LIST
libGAP_AllocBags
libGAP_AssGVar
libGAP_AssPRec
libGAP_BottomLVars
libGAP_CALL_0ARGS
libGAP_CALL_1ARGS
libGAP_CALL_2ARGS
libGAP_CALL_3ARGS
libGAP_CALL_4ARGS
libGAP_CALL_5ARGS
libGAP_CALL_6ARGS
libGAP_CALL_XARGS
libGAP_CSTR_STRING
libGAP_C_NEW_STRING
libGAP_CallbackForAllBags
libGAP_CheckMasterPointers
libGAP_ClearError
libGAP_CollectBags
libGAP_CopyObj
libGAP_DIFF
libGAP_ELM_LIST
libGAP_ELM_REC
libGAP_EQ
libGAP_EndBags
libGAP_ExecStatus
libGAP_FIRST_LIST_TNUM
libGAP_FIRST_RECORD_TNUM
libGAP_False
libGAP_GET_ELM_PREC
libGAP_GET_RNAM_PREC
libGAP_GVarName
libGAP_GetSymbol
libGAP_INTOBJ_INT
libGAP_INT_INTOBJ
libGAP_IS_FUNC
libGAP_IS_INTOBJ
libGAP_IS_LIST
libGAP_IS_MUTABLE_OBJ
libGAP_IS_REC
libGAP_IS_STRING
libGAP_IsStringConv
libGAP_LAST_LIST_TNUM
libGAP_LAST_RECORD_TNUM
libGAP_LEN_LIST
libGAP_LEN_PLIST
libGAP_LEN_PREC
libGAP_LT
libGAP_Last
libGAP_Last2
libGAP_Last3
libGAP_MARK_BAG
libGAP_MOD
libGAP_MptrBags
libGAP_NAME_RNAM
libGAP_NEW_PREC
libGAP_Obj
libGAP_OldBags
libGAP_POW
libGAP_PROD
libGAP_QUO
libGAP_RNamName
libGAP_ReadEvalCommand
libGAP_ReadEvalResult
libGAP_SHALLOW_COPY_OBJ
libGAP_SIZE_BAG
libGAP_STATUS_END
libGAP_SUM
libGAP_S_EOF
libGAP_S_SEMICOLON
libGAP_StopBags
libGAP_Symbol
libGAP_TNAM_OBJ
libGAP_TNUM_BAG
libGAP_TNUM_OBJ
libGAP_T_BLIST
libGAP_T_BOOL
libGAP_T_CHAR
libGAP_T_COMOBJ
libGAP_T_CYC
libGAP_T_DATOBJ
libGAP_T_FFE
libGAP_T_FUNCTION
libGAP_T_INT
libGAP_T_INTNEG
libGAP_T_INTPOS
libGAP_T_MACFLOAT
libGAP_T_PERM2
libGAP_T_PERM4
libGAP_T_PLIST
libGAP_T_PLIST_CYC
libGAP_T_POSOBJ
libGAP_T_RAT
libGAP_T_STRING
libGAP_T_WPOBJ
libGAP_True
libGAP_UInt
libGAP_VAL_GVAR
libGAP_VAL_MACFLOAT
libGAP_ViewObjHandler
libGAP_YoungBags
libGAP_foobar
libGAP_function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment